Service package dependency should use $package instead of static name

I believe this may be a bug... I wasn't able to specify a specific package name (such as riak-1.2.1-1.el6) on CentOS as the service resource was requiring a static 'riak' name. This fixes that and adds a spec test for the requires in a custom package context.