added methods in object for checking consistency of FS against DB.
refactored getnewestfilesfromallrepresentations.
refactor: move commonly used hassidecarfiles to utilities.
test for object consistency at the beginning of abstractaction.