Merged pull request #14
Removed traits option: this would need to be conditionally included based on the PHP version, which we cannot do in headers (due to the fact we do not want to include the whole php library when compiling extensions)
Removed the ClassFlagged class and moved the access flags to a template parameter
Some code cleanup
Removed unnecessary function declareConst and made the declare function for memberinfo descendants override
Removed the static property from the example as this is not currently enabled
Rename function name with spelling mistake
Fix constant declare function getting called for non-const and vice-versa