Make to_native throw a catchable exception

Makes it so we don't effectively abort() on type mismatch
Merge pull request #218 from cmaloney/to-native

Make to_native throw a catchable exception