centralize duplicate code into function library

On branch master
Changes to be committed:

	modified:   .gitignore
	modified:   init.sh
	modified:   scripts/lemp.sh
	modified:   scripts/linux_update.sh
	modified:   scripts/middleman.sh
	modified:   scripts/wordpress_install.sh
	modified:   setup.sh