Various adjustments

- Refine advanced search form now fills entire width.
- "Clear form" on advanced search form now uses javascript
  for clearing input fields instead of redirecting to /advanced.
- Fixed some CSS overflow that cuts off box shadow on media images.
- Renamed "Document Type" to "Type".
- Extracted refine advanced search to a partial.
- Extracted method from catalog controller into helper.