Export TM_SCM_NAME and TM_SCM_BRANCH

This will be used by OakCommitWindow.

Also removed extraneous whitespaces.