replace lack with struct

lack is not available for lua 5.2. so use the better maintained struct
module with almost the same features.
Merge pull request #30 from lipp/5.2-compatible

replace lpack with struct