Update pull request to merge the exception fixes and several other minor commits.

This also includes the script to auto generate the exception classes from the NITRO API html docs.