Pushed theme handling into the framework - no hard-coding

Session handling for theme changes was also added.
Merge pull request #2 from clearos/webconfig-path-n-session

Pushed theme handling into the framework - no hard-coding