[2.0.0] Acls fix + styling + generation issues fixes

I believe that this PR will fix some issue connected with generating and compiling Phalcon and fix AclTest

compared with: https://github.com/phalcon/cphalcon/blob/1.3.3/ext/acl/adapter/memory.c#L649