Rotation logic rewrite and bugfix

[rotation] simplify rotation usage by moving it to qml
[rotation] fix positioning bug when rotating by 180 degrees
[rotation] push nativeOrientation variable into qml context
[version] 0.17