added defineHiddenProperty, defineReadonlyProperty and corresponding tests for M.Object