We used to know how to get together and really let our hair down. Then, in the early 1600s, a mass epidemic of depression broke out - and we've been living with it ever since. Something went wrong, but what? Barbara Ehrenreich unpicks the causes of our unhappiness