Fix const_get for ruby version < 2.0.0
Run tests for 2.0.0 in travis