nginx: add echo module, fix aio on linux&freebsd
nixos/nginx: fix group and stateDir permissions

furthermore, I don't think adding nginx to systemPackages is of any use.
Merge pull request #2976 from bluescreen303/nginx

nginx: fix group, statedir permissions, add echo module, fix aio