[Tizen] Implement Tizen privilege feature

Parsering Tizen priviledge items from config.xml.
BUG=https://crosswalk-project.org/jira/browse/XWALK-1489
[Tizen] register Tizen permissions into cynara

* When installing applicaiton, installer should set permissions into
  cynara db. Also installer should set SMACK label for resource files.
  When updating and removing applicaitons, the permissions need updated.
  This patch is picked from PR#2397.