PDFBOX-2552: modify getRotation() to return only valid values and in normalized form

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1644738 13f79535-47bb-0310-9956-ffa450edef68