fix import of pyx modules when '' is in sys.path

If '' is in sys.path and a module is found the package_path
is relative and breaks the build process.
Merge pull request #175 from steinn/pyximport_fix

fix import of pyx modules when '' is in sys.path
extended test case
move doctests into tested functions
minor test cleanup
add failing Py3 exception test