corrections in Parameter and in two unit tests

In Parameter: changed @return Parameter into @return $this
In PreXslWriterEventTest: changed DOMDocument into DOMElement
In CollectionTest added:
- testOffsetSetWriterReceivesRouterQueue()
- testOffsetGetWithExistingIndex()
and changed testOffsetSetAndCheckRequirements() into
testCheckRequirements()