This unusually unfiltered memoir takes us to the hospital, to therapy and to the sometimes hostile set of “Girls.”