3: add a system to store application preferences inside the system database 

Task-Url: http://github.com/mgatz/sunrise/issues/issue/3