Strip newline from sha variable
Make components of task instance variable more readable

Currently its difficult to know what the @task variable is composed of or how
to use it. This commit turns it into a hash with :task and :args keys for
readability.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>