Updated application_search
Updated application_search

* moved .upcase! from controller
* Used Pundit policy for permission check

ministryofjustice/fr-staffapp,ministryofjustice/fr-staffapp,ministryofjustice/fr-staffapp,ministryofjustice/fr-staffapp