Adds support for rotating the device

Adds support in `SLDevice` for rotating the device. Integration tests done in `SLDevice`.