Add integration tests to travis
Update mocha.js
Update dpd to allow -t parameter to run a command and exit