tests passing again, moved failing debugs
expose getDomain(), tests use staging
use mocha-phantomjs for tests, add wercker.yml