Improve jsdoc comments for Freebase exceptions.
Update to latest version of jsdoc.
Improve handling of NEW records in Grid, and improve efficiency.