fix bugs & tidy code
tidy code
tidy code
use SCMRevision instead of SVNRevision
use TMPDIR to set TMP value
modify comment
Merge pull request #6 from JaHIY/master

use SCMRevision instead of SVNRevision and some bugfix else