Refactor import-opsman/task.sh
Refactor import-opsman/task.sh

* Remove single-use methods
* Remove lots of moving of files around
* Remove multiple invocations of jq
* Make local vars lowercase

pvsone/pcf-pipelines,pvsone/pcf-pipelines,cah-josephgeorge/pcf-pipelines,pivotal-cf/pcf-pipelines,sandyg1/pcf-pipelines,cah-josephgeorge/pcf-pipelines,BrianMMcClain/pcf-pipelines,rahulkj/pcf-pipelines,mcb/pcf-pipelines,sandyg1/pcf-pipelines,pivotal-cf/pcf-pipelines,rahulkj/pcf-pipelines,rahulkj/pcf-pipelines,pivotal-cf/pcf-pipelines,mcb/pcf-pipelines,beibeiyang/pcf-pipelines,pivotal-cf/pcf-pipelines,beibeiyang/pcf-pipelines,sandyg1/pcf-pipelines,cah-josephgeorge/pcf-pipelines,pvsone/pcf-pipelines,mcb/pcf-pipelines,sandyg1/pcf-pipelines,BrianMMcClain/pcf-pipelines,rahulkj/pcf-pipelines