Property define with static-constant-access support

- added support for it

- added some tests for it

- added new macros RETURN_ON_FAILURE and RETURN_MM_ON_FAILURE

- wrap incr decr property to RETURN_ON_FAILURE