Change scripts to use "docs.cask.co" instead of "s3.amazonaws.com" as the source of version information.
Fixes cdap.sh script to correctly check for the version (it is currently broken, as the last line of the file is never reached).
Changed cdap.bat to use "docs.cask.co" instead of "s3.amazonaws.com" as the source of version information.
CDAP-538: Ported procedures of Purchase app to services.
Merge branch 'develop' into CDAP-538-purchase-app

Conflicts:
	cdap-examples/Purchase/src/main/java/co/cask/cdap/examples/purchase/PurchaseApp.java
CDAP-538: Fixed build after merge with develop.
CDAP-538: Updated docs and scripts.
CDAP-538: Reverted body retrieving as it's in develop.
CDAP-538: Removed unused import.
Merge branch 'develop' into feature/2.6.0_start_script
Merge branch 'develop' into feature/2.6.0_start_script
CDAP-538: Removed unnecessary method from service; Added test for PurchaseHistoryService; Moved handler into the PurchaseHistoryService class.
Added check for curl.
Removed eval.
Corrected capitalization of comments.
Added message if not connoted to internet.
Added braces around variables.
Merge remote-tracking branch 'upstream/develop' into CDAP-538-purchase-app
Merge remote-tracking branch 'upstream/develop' into CDAP-538-purchase-app
CDAP-538: Updated response when history not found; Updated tests to waiting service startup.
CDAP-538: Updated docs of PurchaseHistoryService.
CDAP-538: Updated order of services in the scripts.
CDAP-538: Removed TODO; Replaced service startup check to private method.
Merge remote-tracking branch 'upstream/develop' into CDAP-538-purchase-app
CDAP-538: Used method from TestFrameworkTest to wait service startup.
Refactor deployment pipeline to have ProgramClassLoader created at the beginning of the pipeline and cleanup when the pipeline is completed.