Nicola Work (2) 7.10.14

- updated themes api
- updated theme table handlers and saving
- now the theme in the database is applied to the app