1st Set of updates for realm db
More updates and start of version checking
Added based SQL
Added some checking around the realm checks
Added protection around server startup
Merge branch 'RealmD' of http://github.com/mangosvb/serverOne into RealmD