dumpVar: only available in dev mode
With the switch back to bundle-based mod distribution, we can now use the built-in `require`/`dofile`.
Move files in the correct file structure, add package definition and dtmt configuration.