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