Converting to Ruby gem

To make this plugin easier to include in Jekyll projects it has been
converted into a gem. This also allows for some testing of more complex
code, which has now been included.
Merge branch 'master' of https://github.com/bwillis/jekyll-github-sample