Update to RSpec 3.0 and remove simplecov

Simplecov doesn't run correctly in Ruby 1.8 mode
Add typecasting of integers
Merge pull request #1 from onthebeach/feature/typecast-integers

Add typecasting of integers