Handlers are now properly removed when a Realm is closed.
Cleanup handler unit test.
cleaned style
spelling fixed
Update Group.java
Update SharedGroup.java
Merge pull request #653 from realm/cm-rotation-crash

Handlers for closed Realms are now properly removed