enable whitespace-mode only for specific modes

whitespace-mode doesn't play nice with several modes (e.g. web-mode)