Rotating the image using ImageDocument c++ class
Summary: Refs T6268
Reviewers: Koko, mart
Reviewed By: Koko, mart
Maniphest Tasks: T6268
Differential Revision: https://phabricator.kde.org/D7399