[ticket/10714] Implement a class to add logs to the database.

PHPBB3-10714
[ticket/10714] Use new phpbb_log class in add_log function

PHPBB3-10714
[ticket/10714] Remove the dirty global hack to disable the log.

PHPBB3-10714
[ticket/10714] Create a phpbb_log object and inject it into add_log

PHPBB3-10714
[ticket/10714] Add unit tests for add_log function

PHPBB3-10714
[ticket/10714] Add unit tests for log class

PHPBB3-10714
[ticket/10714] Serialize the log_data in the testinsteadof hardcoding it

PHPBB3-10714
[ticket/10714] Add @return null to doc blocks

PHPBB3-10714
[ticket/10714] Use keys for the log data instead of requiring a special order

PHPBB3-10714
[ticket/10714] Add return null to phpbb_log and add param to constructor

PHPBB3-10714
[ticket/10714] Add missing log_operation to events in phpbb_log

PHPBB3-10714
[ticket/10714] Use {@inheritDoc} instead of repeating the doc-block

PHPBB3-10714
[ticket/10714] Rename add_log_function test

PHPBB3-10714
[ticket/10714] Add unit tests for view_log function

PHPBB3-10714
[ticket/10714] Add casts to integer values.

PHPBB3-10714
[ticket/10714] Add incorrect offset calculation in view_log function

PHPBB3-10714
[ticket/10714] Add doc block for view_log function

PHPBB3-10714
[ticket/10714] Implement get_logs() based on view_log()

I moved some stuff into its own function to make the code a bit clearer.

PHPBB3-10714
[ticket/10714] Use phpbb_log class in view_log()

PHPBB3-10714
[ticket/10714] Inject the global $phpbb_log into view_log()

PHPBB3-10714