Multiple Fixes for HR-284,HR-294 and HR-314

1) HR-284 changes - Linked Case custom field with Case-type Application also updated the profile type of Application profile on post install.
2) HR-294 - Made Vacancy Stages required and added filter to permission's Person to allow only Individual 
3) HR-314 - Custom field processing and optimization