Merge pull request #347 from stianst/master

Ensure Realm names are unique
Temporarily disabled unique constraint on Realm names as it breakes tests