Javadoc for all of jsonpointer

Plus code comments where appropriate.