Added better global log/error/warn functions.
Added sinon.js for stubs in tests.
Updated grunt version to satisfy peer dependency warning.
Started on better error handling and displaying in the UI when an error has occurred.