nginx Dockerfile: user mako for templating
stat_sender.lua: try to load both cjson and json
refactoring: run tests in docker container
fixed container clearing
Merge pull request #3 from nikicat/master

run test in docker container; some fixes