Upgrade to ruby 2.0

Explicitly enforce encoding to prevent exploding as ruby 2.0 now treats source files as utf-8 by default, which means the ascii string we're sending to test malformed utf-8 causes the code to explode before it hits the application as it's not being treated like an ascii string. Forcing the encoding ensure it gets all the way through the stack to explode in the appropriate place