Tweaks to Javadoc and reference docs to align with american-english spelling. Original pull request: #606.