Revert "Fix and test case for EZP-22322: REST API: Content Versions request fails when content version has an internal version status."

This reverts commit d3e4ec13b5a2dcb4a6458acec4a85dd17549ada7.
New fix for EZP-22322, this time in the controller and following the coding standard.