Facebook COO Sheryl Sandberg is writing a book about women and the workplace that sounds half-memoir, half-self help.