Changed ticketbot repository URL.
Removed development documentation links rewriting.

It was annoying and had it been disabled anyway.
Fixed logic bug.
Extracted out the link building logic to make it more testable.
Added some tests for the regexp matching.
Merge pull request #6 from bmispelon/add-tests

Added tests