Allow "trailing_spaces_trim_on_save" to be set per syntax (thus also per-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().