This production of Stephen Sondheim's Putting it Together is fiercely nuanced and intelligently sexy, says Jane Shilling