Improve the ACL matching algorithm

See https://github.com/strongloop/loopback-example-access-control/issues/8
Add more comments
Merge pull request #214 from strongloop/feature/fix-acl-order

Improve the ACL matching algorithm