open up the possibility to generate rulesets dynamically
avoid using package which is a reserved word in js
adding tests for rulesetFn() feature
Merge PR #29 / branch 'jsnext' of https://github.com/caridy/locator