nginx: implemented x-headers support
LUA-116 fixed memory leak on nginx reload

* created a root pool to destroy modsec pool safely among reloads
Merge pull request #1 from lneto/nginx_refactoring

Nginx refactoring