Merge pull request #818 from expa/nginx-cleanup

rebuild nginx config on domain change
don't break other nginx plugins like nginx-alt
print out urls with scheme
reset VHOST to default upon domains:clear
bugfixes

 - don't match substrings in VHOSTS
 - handle case where NOSSL_SERVER_NAME is \' \'
 - rebuild nginx config on ssl import
 - prevent cwd errors after we rm the temp dir