Update offline_install.sh

Bumped up the elasticsearch version to 1.3.0, added a check for strictly-offline installations, and fixed some bugs.