Added the ability to pass in task target specific options.

This was to allow passing of target specific manageFlags such as version, application. Thus allowing targets to be set up as 'staging' and 'live'
Added staging example
Update json example