Merge pull request #248 from stianst/master

Fixed permissions not updated when realm is imported
Added create-realm role