updated build routine to clean up the build and added  environment debug output for travis ci in preparation of continuous deployment
Merge remote-tracking branch 'origin/master'