Document vmgen.nim a bit
Merge pull request #1123 from flaviut/bug1110

Document vmgen.nim a bit