Files selection

fixes https://github.com/dart-lang/spark/issues/437

This CL:

- fixes selection of a file in the files view, when the file's parents are not expanded
- fixes an issue w/ showing a newly created file as selected

@dinhviethoa