fix UTF16 BOM removal problem on ruby 1.9.2
Add gemspec so that it can be picked up by bundler.
updating a few things to support ruby 2.0
Merge branch 'master' into fix