Rapidly-evolving technology and changes in work habits are affecting how happy workers are with their jobs.