Run install and tests in sourcedir

Main package install and test run in given source directory, with deployment tests adapted, and no spurious commits.
A lot of abspath use instead of os.path.join. I'm slightly afraid this could accidentally break the shebang line override later. 

Do you have some specific reason for abspath use?