Pull #1 (Implement client.error and client.attachErrorImage. Use modules jshint and require-dir)

* Create package.json
* New modules require-dir and jshint
* Implement client.error and client.attachErrorImage
* Use require-dir to load methods recursively