Small changes and tweaks

Spelling, some minor performance improvements, and some usability
improvements.

Take getWhereStatement from O(3n) to O(n) and avoid dropping to the
native layer twice on getTableName() and getNotificationUri()