Updated globals
Added es6-promise polyfill for unit tests
Removed Promise.defer() in favor of Promise constructor
Updated test structure, started adding integration tests