parser: generalized lua recursive table parsing

Awesome. I think I'll soon give some control of parsing over to the physics algorithms so they may configure whatever. Cool.