Method flag macros

While investigating a bug report I noticed that it is really common to check various kinds of `common.fn_flags`. This PR adds macros to help with common checks such as `ZEND_ACC_STATIC`, `ZEND_ACC_PRIVATE`, `ZEND_ACC_DEPRECATED` and so on. It also converts roughly 160 instances to demonstrate how widespread the usage can be.