Fix for Ruby 1.9+ #instance_variables method incompatibility

* Using activesupport instance_variable_names method in base.rb
* Added standalone gemspec to allow bundler to pull from github
* Added proper dependencies to gemspec, changed Gemfile
Merge pull request #1 from halfbyte/master

Adding compatibility for ruby 1.9, also making the repo functioning with bundler