Theme parsers+options and new settings model

Moved the theme parsers to options model so they can be customized on
the options page
Added a more robust (very confusing!!!) configuration of the
notifications -- seperating standard notices from custom notices
Created a "settings" model which stores login credentials, channels and
stuff similar (see js/src/config/settings) - lets settings be updated a
bit cleaner and hide some logic.
Private notice bug fix

Fixed a bug where private notices were not being handled as private
messages