Update api test scripts to work on centos with rpm

* rundeck dirs set via ENV vars
* separate scratch TMP_DIR from source dir
* fix use of some utilities (sed,date)
Add Vagrant test scripts for CI
Merge branch 'feature/test-scripts' into development