Update memory-backend.js

added support for regexes following @thschmitt example here: https://github.com/OptimalBits/node_acl/issues/30

this is to support #30 #71 #64