Refactors to use the restart command attribute from opsworks

This will allow usage in other contexts (Passenger, etc.) as new
ones are added.

Just tested it this morning against passenger and seems to be working fine.