Added more examples under /examples.

Updated package.json for npm.

Cleaned up thriftbooksapi.js file.