Merge branch 'hotfix/3.1.2'
Handle all possible errors when uploading files (see #5934)
Update the `Database_Result` object when updating a model (see #6070)
Fix the version 3.1 changelog
Drop the database query cache (see #6070)
Return an empty model collection instead of `null` (see #6147)
Restore the `User::getData()` method (see #6146)
Revert "Return an empty model collection instead of `null` (see #6147)"

This reverts commit 4cb82f0e7d02ec268021200f88f970ffc8b07d5f.
Throw an execption in `Model::__callStatic()` if the method is unknown (see #6160)
Fix endless recursion in `loadDataContainer()` (see #6145)
Fix two issues in the `Database_Result` class
Do not exit after a template has been output (see #5570)
Apply the width and height to the audio player as well (see #6114)
Replace insert tags in the details view of the listing module (see #6120)
Support `tel:` and `sms:` upon IDNA conversion (see #6148)
Unset the primary key if a model is deleted (see #6162)
Check whether a file exists when adding enclosures (see #6173)
Do not cache the "toggle_view" insert tag (see #6172)
Strip the related fields before passing a DB result to `Model::setRow()` (see #6133)
Do not throw an Exception if a model does not (yet) reference a relation (see #6161)