Extend commands to get 2 rotation related states

Also clean up the code in related methods.

Bug: 170159753
Test: cmd window fixed-to-user-rotation [-d display] shows the state.
Test: cmd window fixed-to-user-rotation [-d display]
[enabled|disabled|default] changes the state.
Test: cmd window user-rotation [-d display] shows the state.
Test: cmd window user-rotation [-d display] [lock|free] [rotation]
changes the state.

Change-Id: Id27c04dde238a73a0a6a6574e3c0f2503a51b7eb
3 files changed