Fix bugs in DBModel related to fetching and inserting single preference value
Merge branch 'master' of github.com:ntnu-smartmedia/goldfish

# By Patrick Heia Romstad
# Via Patrick Heia Romstad
* 'master' of github.com:ntnu-smartmedia/goldfish:
  Preprocessor clustering is now ready for testing.