Testing is cool

Added Rspec for testing, fixed a few bugs and modernized the gemspec a bit.