fix tests to use hex interface to session
add Gemfile and include activesupport in gemspec

It was not available on travis before