fix has_acl method, wrong check in credential/roles instead of credential/permission
added info in pagination result, maybe useful for pagination in views.
revert has_acl check
Merge pull request #7 from domenicoficca/master

wrong check on has_acl method