The happiest people work for companies that have some or all of these things nailed.