Trim trailing whitespace.
Link issue poster to bitbucket profile URL.
Sort issues to sync numbers for new projects.

This is a hack for small projects.  Large projects will run into memory
issues, as all issues are loaded into memory.
Use bitbucket's issue comment API.
Update script to use Gihub's API version 3
Added GPL license text
Merge pull request #4 from rolandgeider/master

Several improvements to script