Ramanujan’s unpublished manuscript on the partition and tau functions with proofs and commentary