Fix frozen

Fix freeze enforcement and exceptions for immediate values. Passes test suite and rubyspec suite.

I'd love some extra review on this, though - the JRuby code isn't directly analogous to the MRI code, and there is a whole set of checks (FL_ABLE, SPECIAL_CONST_P) that JRuby doesn't do which probably need evaluation.