Sanitary checks: converting the line endings in test classes
Replacing the path to bash with the user-defined path (TWGIT_BASH_EXEC) in the common TwgitTestCase class to make tests work on systems that use both bash 3 and 4 versions.
Replacing 'tempfile' with 'mktemp' as 'tempfile' should be deprecated (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627564)