updates for 92.3 & new ES version

There are a few changes (ES is updated to 1.3.4, the sed was corrected so the elasticsearch.yml file gets updated properly, cleanup fixed etc.) from the stock 90 install script here.

Also added an apt-get for netcat since someone in another thread mentioned they didn't have 'nc' installed.
 
This worked on 14.04.