Ticket/12932 Allow overwriting the \phpbb\datetime class

https://tracker.phpbb.com/browse/PHPBB3-12932
the extensions can override everything in the container. I use it a lot (and Symfony too :p)