Add tsd commands to .travis.yml
Install gulp-replace
Truncate the reference path from lib/**/*.d.ts