[DO NOT MEGRE] backported Object#method_missing? and TrueClass/FalseClass fixes to safe mode 1.0.x

I backported a couple of latest fixes to a branch based on v.1.0.1. Would everyone be ok with me committing this branch to the main repository and releasing v1.0.2?