added dbv module for database versioning
updated dbv
fix of foreign keys in db, db revision 2
Merge pull request #7 from only-a-ptr/master

Authenticator improved and comented, Gallery thumbnails and editing.
[Add] Gallery: Image deleting
Merge pull request #6 from Dukecz/dbRevize

Db revize
Merge branch 'master' of https://github.com/furrycz/furry.cz-v2
[Add] Thumbnail generator and cache; used in Gallery