Refactoring of AdvancedSearchController:

- Employs ActiveSupport's Object#present? method over AdvancedSearchController#nil_or_empty
- Cleans up code formatting a little
Small fix in Refactoring of AdvancedSearchController
Merge pull request #615 from rdsubhas/dchapman1988-master

Minor fix in Refactoring of AdvancedSearchController