Added event handling for text resize and zoom changes to Vapour and theme prototype (fixes #3086).

Also switched theme.js over to jQuery style guide.