rewrite the hadoop-build script to "config" file the etc/hadoop-${version} files and version the destination roots in both opt and etc

Tested in the build root.