Initial creation of repository classes and tests

Implements: blueprint db-repositories

Added a change to the data_models for smarter comparisons

Change-Id: I7b21ea82a01ae677b2cfeaa0afb01230a4894257
Merge "Initial creation of repository classes and tests"