Fix Issue 10022 - Importing packages

When attempting to import a package, rewrite to importing a module called 'package' instead.
When a file search detects a package, rewrite the import to directly use the 'package' module.
Allow declaring a module named 'package'.

http://d.puremagic.com/issues/show_bug.cgi?id=10022