As these methods are not in [JSON wire protocol] (https://code.google.com/p/selenium/wiki/JsonWireProtocol) but  we want them as a part of Appium like tap, flick_precise, and swipe. So, we implemented the rotation endPoint here.