When cloning showings check target event id

This parameter was previously ignored. Also add tests.
Whitespace tidying, mark url strings raw