fixed app_manager_state/permission maxOccurs attribute

fixed the app_manager_state/permission maxOccurs attribute to be "1" instead of "unbounded".