[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.