Obey "trailing_spaces_trim_on_save" setting in view.

* Setting "trailing_spaces_trim_on_save" will now also be read from the
  view itself. This allows to enable auto trim on a per syntax basis
  using `Preferences->Settings More->Syntax Specific - User`.
* Fix on_activated().