Fixup Scm and its test.

Support environments like travis-ci with no proper user config:
  setup a repo identity in test
Fixup _get_remote implementation (kill quoting) and test.
Spread testing to python 2.7 and java 6.
Use a multiline string for the script.
Cleanup custom node naming scheme facility to just concentrate on names.
Be resilent to lack of a configured SCM.
Merge pull request #139 from jsirois/jsirois/fix_scm_tests

Fixup Scm and its test.
Merge remote-tracking branch 'twitter/master'