Implement the "import" keyword (WIP).

Fixes #5869