Improved the .htaccess.tpl
Added .htaccess file to protect the build folder
Improved the fail messages of apache-htaccess build module