Display: Use getRotation() instead of getOrientation()

 * The getOrientation() method is depricated. It internally just calls
getRotation(). So I just use this directly.
 * This elimnates a Warning for depricated code
Suppress deprication warnings

 * Some parts of the android API are deprecated now. However instead of
inserting magic numbers teh defines should be left in the code.
 * The reason for deprication is somewhat different to the actual usage
here.