Create stub versions of all imports

Since we are testing the parsing code doesn't fall over, we don't care
if any of the imports don't exist - so create stub versions of them
all that are enough for the getPackageName code to find the package
and get a name ...
Add support for relative imports

These aren't seen much, since they aren't very well supported.  They
are however legal, so we do need to at least try to work with them.