Added $grants hash parameter

This parameter allows passing a hash of mysql::grant defined resources to the
mysql class which then realizes them. This is useful when working with ENCs that
don't support defined resources but do support hash-type parameters.

Signed-off-by: Samuli Seppänen <samuli.seppanen@gmail.com>