* Refactor Box/Tools to remove unnecessary functions
Refactor Box/Tools to remove functions which essentially duplicate PHP functionality, or provide a thin wrapper around such functions.
* Move config migrate/update to relevant class
Move config update functionality from Box/Tools to Box/Update.
* Move Gravatar function to class where used
Moved Gravatar function to Twig filter where it is used, rather than in a custom Box/Tool function.
* Replace usage of array_get
* Fixes
* And a few more
* Remove remaining references
* Update Service.php
* Few more fixes
* Fix.. I think?
* Fix Client / Invoice updates
* Fix stats
* Fix issues noticed during code review
* More fixes
* And some more fixes :)
* Fix typo in Email module tests
Fix missing semicolon in tests for Email module causing PHPUnit to fail.
* Fix module test errors due to RedBean
Fix module tests causing error due to RedBean when being mocked in PHPUnit.
* Fix module test failures
Update module tests to fix failures, and remove obsoleted tests causing failure.