implement close
merge master
fixed close to show only for top level items
Merge pull request #262 from dart-lang/closeFile

Implement Close file