added NginxConfigFileGenerator to pass in custom server.conf templates to NginxController
This closes #392

* github/pr/392:
  added NginxConfigFileGenerator to pass in custom server.conf templates to NginxController
Fix deadlock and rebind issue with Riak cluster