added support for linked documents in a view
unit test for linked docs
Merge pull request #9 from pegli/linked_docs

added support for linked documents in a view