Add support for using mainline nginx packages on RHEL/CentOS/Debian

Add support for using mainline nginx packages on RHEL/CentOS/Debian

http://nginx.org/en/linux_packages.html#mainline