Preliminary tidy-up
CRM-14269 - Register links from Manage Events don't load event if in the past
CRM-14269 correctly set default role id when event id is passed, note that this also adds support for roles to be passed in the url - taking precedence"