Make web2py's custom_import work with circular imports.
Merge pull request #554 from kjkuan/fix-circular-imports-take-2

Make web2py's custom_import work with circular imports.