Rework current integration tests

Upgraded tests to use wd 0.2.4 and mocha 1.14. Tests now use promises
where available, and the wd40 script has been deprecated in favor of
native wd functionality (the abstraction was making the utilization of
promises difficult).