Fix/vendor rake cleaning

Removing unused rake command to download elasticsearch jars, collectd and the geoip database.
Moving the '.install-done' file check inside the build directory