Use refinerycms-acts-as-indexed for search functionality.

Also simplify index views for posts, categories and comments by
removing redundant code.
Use select and map instead of pluck to make JRuby happy.
Merge pull request #345 from refinery/use_refinerycms-acts-as-indexed_for_search

Use refinerycms-acts-as-indexed for search functionality.