Fix some bugs while applying this github trac plugin.

- parse_query_string is not defined at the newer version of trac any more
- Ignore the annoying the GitPython warning message.
  (This is not a bug of this plugin).