- improve backward compatibility: although permission_p is boolean, the results of often compared with literal "0" and "1", so return an integer as well
- added new function acs_permission.permissions_all as replacement for acs_permssions_all- removed all dependencies on acs_permssions_all in kernel (such that acs_object_paths and acs_object_context_index can be dropped for PostgreSQL)