Added swap files to gitignore
Added missing prototype member to RepositoryAbstract
Moved a bunch of stuff to DBRepository from AbstractRepository since it was DB-specific anyway
Moved the create object calls to the abstract repo
Merge branch 'scrutinzer-fixes'