Adds test fir allow surfaces to be created before domready - Fixes #17
Excludes vendor/Promise.js from format and lint