Add support for changing the path to the .deployment file

Fixes #473
Added test coverage for SCM_DEPLOYMENT_FILE