Merge most of the java bits from faultprotect branch
Add native faultprotect support (disabled)
Add native method to detect fault protection enabled.
Add Util from faultprotect branch