ErrorController: show valid title for exceptions

Multiline strings are not considered being a valid title. This patch
strips all but the first line from the exception message when setting
the title attribute.
Web\Url: add a shift() method

This methods allows to retrieve an URL param while removing it from the
URL object