Fix and test case for EZP-22322: REST API: Content Versions request fails when content version has an internal version status.
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.
Merge pull request #1 from henningp/master

Fix for EZP-22322: Content versions returns HTTP 500 when internal draft exists.