Small fixes and features

* Rename _pathToDartCode to _pathToDartCodeChild because the list
contains DartCodeChild objects.

* Only scan files with the extension ".dart". Other files should just be
added as dependency without scanning.

* Removed a Future.value construction. Forgot .then() returns a Future.
The result is we now instant insert the Future object in the
_sourceCache map.