nginx Dockerfile: user mako for templating
stat_sender.lua: try to load both cjson and json
refactoring: run tests in docker container