Modify SQL to be compatible with Postgresql for trac backend.
Merge branch 'master' of github.com:trustmaster/trac2github

Merging changes for Postgresql compatibility.

Conflicts:
	trac2github.php