added dbv module for database versioning
updated dbv
fix of foreign keys in db, db revision 2
Merge pull request #6 from Dukecz/dbRevize

Db revize