Register multiple events to function.

Openlayers allows mapping multiple events at once. Since we were nearly
duplicating the same function 4 times, this could be simplified by registering
click and touchstart events to a markerClick function and passing in slightly
different objects.