Fix SSL issues.

Fixed the SSL issue by updating code to use latest GitHub python library.  A lot of the code is based on arthur-debert [google-code-issues-migrator](https://github.com/arthur-debert/google-code-issues-migrator) project.  Fixed a couple bugs with 'start' inject, and BitBucket's Rest API url.