Moved permission policy manager into application system. Moved
permission initialization logic out of application data, i.e. the
application data won't initialize itself.