[CF-165] Implement archiving preferences service
 - Changes to primary key of RESOURCES table in DBTables
  - Added scalatest to the build.gradle
  - Wrote integration tests for DBTables
Merge pull request #2 from ChandraAddala/cf-165-implement-preference-service

[CF-165] Add unit tests to preferences service