Use mock instead Database access in PHPUnit

Add tests for
 - Component\Tabs
 - Document\Collection
 - View\Helper\Documents
 - View\Helper\Document
 - View\Model

And change something on View\Helper\Documents if there is no document
 loaded with method fromUrlKey.