Change nx_conf_dir to config::conf_dir to make it possible to configure via parameter.
Merge pull request #339 from janorn/small_fix_337

Change nx_conf_dir to config::conf_dir
configuration revamp

- make many more things configurable
- stop using ::params::* for things that are configurable
- add worker_rlimit_nofile option
- add tcp_nopush option