[Runtime Model] Add permissions handler for manifest.json

Permissions handler can parse the permissions field in manifest.json,
and save the permissions information into Application object as
ManifestData struct.
Merge pull request #1089 from takethathe/permissions_handler

[Runtime Model] Add permissions handler for manifest.json