Updated nginx version and streamlined install script.

I enabled the use of a fallback from curl to wget in case curl is not installed (as by default on Ubuntu) and streamlined the install process by only displaying errors and displaying simple messages for everything else.