Add a sudo method to recipe

Can be used by recipes to specify a custom sudo command.

Use case:

I am making a couple of recipes that need to run with sudo(whenever and foreman). This allows them to run with rvmsudo if the user is using rvm, or some other custom sudo command if it is needed.