PluckStruct works, steal mapper for it, internalScope

Stop generating so much indentical code for Scope functions, use
internalScope to reduce lines of code. Borrowed the mapper core from my
db repository, so I can pull back sub-tables using PluckStruct.