implemented linking in workspace and added tests
addressed comments
Merge pull request #63 from dart-lang/workspace

implemented linking in workspace and added tests