Only include lib files in the gem

Resolves https://github.com/jekyll/jekyll/issues/2670
Update to a better, more gitty way
Merge pull request #2671 from gjtorikian/patch-1