Ticket/12932 Allow overwriting the \phpbb\datetime class

https://tracker.phpbb.com/browse/PHPBB3-12932
@bantu extensions can provide a new calendar (datetime object) with this patch.
They can not before