Added deprecation warning for type shortcuts.

Added test directory.
Added Make task for running unit tests: make unit
Added sinon, chai and mocha to package.json