Add an option to only display distinct commits in tickets.

This uses the value 'distinct' field in the github payload to determine
if the commit has been seen before.
Merge branch 'feature/show_duplicates_flag'
Close ticket on merge to master.

When a merge is made to a branch named in the config variable
'production_branch' then an attempt is made to extract the ticket ID
from the branch name. If successful then the ticket is marked as closed.
Make the default production_branch blank

This means the default behaviour is as it was before.
Add a python script to post a github-style payload.

Can be used to test the trac-hook.
Merge branch 'feature/close_on_merge_to_production'
Set a ticket to inprogress when a commit is made that refs it.

Ony happens when the ticket is in new/reopened state.
Fix bug with closing on merge to production.

The status must be separate to the closestatus in the config
Add testedstatus option to github plugin.

Used when tickets are merged to production
Fix production merge regex to make -tracking comment optional.

Older versions of git don't include the tracking portion of the message
when merging remote branches.
Fix regex search for new commit message style.
Add merge commit URL to final message that closes ticket.
Add extra newline for full changeset comment.

Wiki formatting requires a clear new line to start a new paragraph.
Update hook based on workflow changes

This should be configurable really but for now this will do.
Have a more flexible regex for finding ticket numbers in merges.
Merge branch 'feature/show_duplicates_flag'
Merge branch 'feature/close_on_merge_to_production'
Merge branch 'feature/inprogress_on_commit'

Conflicts:
	github/github.py
	github/hook.py