Add extra options to grant define. Add tests for grant.pp.
Merge pull request #25 from netmanagers/master

Fixed wildcard database and added some extra options to grant.pp, added tests.