added more debug flags and fixed an error in from_package_reloaded caused when two lua files attempt to define the same module namespace.
add debug details
Merge pull request #91 from asmagill/doc-and-json

added more debug flags and fixed an error