Updated page.js API documentation

Added in and cleaned up the javadocs from page.js
Added in the notification callbacks (haven't yet been added to page.js) as currently used by iOS.