WINTERMUTE: Add rotation

Add actual rotation code, make ticket-system transformStruct-aware
WINTERMUTE: Removed useless argument from rotate()
WINTERMUTE: Move if() outside transform loop
WINTERMUTE: Rename pixel copy functions