[ticket/12932] Add method for allowing override of \phpbb\datetime class

This pull request adds a parameter to the yml file that defines the datetime class. Extension authors will be able to overwrite the parameter and therefore the datetime class.

https://tracker.phpbb.com/browse/PHPBB3-12932