Added linking to import targets

Added support for linking to imported dart files and added test.

Review @devoncarew