memory_cgroup: limit_in_bytes metric added

+ custom memory.stat keys support
This PR conflicts with #576, I will rebase it if you merge
the latter first.