Add the debug module
move tests into their own dirs;  more debug msgs
Clean up the context tests
Context fallback tests
Move _getEntity into Context