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.
Merge branch 'develop' into feature/2.6.0_start_script
Merge branch 'develop' into feature/2.6.0_start_script
Added check for curl.
Removed eval.
Corrected capitalization of comments.
Added message if not connoted to internet.
Added braces around variables.
Merge pull request #632 from caskdata/feature/2.6.0_start_script

CDAP-26: Fix CDAP startup scripts to correctly check for the current version