Dyamic Import Fix for Dynamic API

This fixes an issue that was causing the dynamic import function to load
the imported module only into sys.modules, but not making it available
in globals(). I thought the __init__ file specified the files to load,
but it did not, and I discovered this after hacking around trying to
find a fix, assuming that __init__ had been written that way. So, this
solution works for now. We need to still figure out what we want this to
do exactly and clean up the api.py script to do it.