Refactor Object and Boolean types to have .infer_from_primitive_class
Fix specs to pass under rbx-19mode, jruby-19mode and jruby-head

* Use an alternate way to see if a class inherits from the primitive
Update flay threshold