[Tizen] Move application binary path from .config to  TZ_USER_APP / TZ_SYS_RW_APP

user application binary is now located in TZ_USER_APP instead of /$HOME/.config
global application binary in TZ_SYS_RW_APP instead of /usr/apps/.config

BUG=XWALK-2672

Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
[Tizen] Fix calculation for display rotation angle.

For landscape devices which have landscape-primary as default orientation, the rotation calculation " ((rot - 1) % 4) " gets invalid value that might cause unexpected result, for example when converting from portrait-primary to landscape-primary, the "rot" should be 3 (ROTATE_270) rather than -1 (invalid value).
This CL is to correct the rotation calculation.
Merge pull request #2550 from eurogiciel-oss/multiuser

[Tizen] Move application binary path from .config to  TZ_USER_APP / TZ_SYS_RW_APP
Merge pull request #2656 from yejingfu/bug-fix

[Tizen] Fix calculation for display rotation angle.