Disallow imports of parent folder.
Robust fix to stopping infinite imports of parent folder.
fix typo.
Merge pull request #2522 from dart-lang/disallow_import

Disallow imports of parent folder.