Update image.php

Moved function getOrientation to newly created helper class JImageHelper