update language stuff

* new db structure
* added lang cookie support
* added lang selector
* changed home.tpl to dashboard.tpl