Update image.php

Added new constants reflecting an image's orientation. These can also be used to easily assign the orientation as a string literal to e.g. a CSS class.
Replaced the return values in getOrientation() by the new constants.