Refactored Mindlogs#index and Mindlogs#show

- Refactoring to improve code maintainability and readbility of the most
important controller at Psymic.
- Fixed sorting related bugs which were previously unnoticed
- Added customized index pages for mindlog search and tags.
- Added responses_count to Mindlogs
- Added friendly_id Initializer