Adds system preferences to template context

It's now possible to use
  $gimme->getSystemPreference(preferenceName, defaultValue)
in the templates. For preference names the machine names should be
used. The default value will be returned if the preferences it not
set.
Merge pull request #902 from m038/CS-5584_master

Adds system preferences to template context