Make sure that wget is installed
Remove hardcoded 'ec2-user' home directory and just use whatever's there.
Make sure GRAILS_HOME and PATH are set even if grails is not downloaded by the script.
Pass JAVA_OPTS to the grails command to enable it to use a proxy
Reuse the HOME_DIR variable for creating the processor and reader paths
Make the script install/build ice in the directory it is run from to avoid ending up with an extra copy under the home directory.
Merge pull request #51 from grahamlyons/install

Install script updates
Fixed aggregated computation with resourceGroup and groupBy=Product
Merge pull request #53 from Teevity/master

[Issue #52] Fixed computation of "aggregated" with resourceGroup and groupBy=Product