Font style button state now matches selected text

Also:
* Fix colour pickers not updating their state.
* Fix JSHint errors.
* Fix gulp-usemin error.