moving functional test pieces to test/functional
updates/fixed for functional tests related script
install_agent.py some polyglot effected errors corrected
test runner updated to force install Bash on BSD