Improve documentation and unit tests for notifications
Add timeout to unit tests
Fix typo in Realm.java
Merge pull request #520 from realm/ez-improve-tests-notif

Improve documentation and unit tests for notifications