Add tags and classes for badges to messages and pings link in sidebar.
Add unviewed scope to Message model and unviewed method to User model, displaying unviewed message amount as badge on home view.
Add mark_messages_as_viewed method to User model and call it in messages#index to update the badge number when the user looks at the index.
Mirror functionality to display new messages badge to display pings badge.
Delete commented out cruft code from application controller.
Add content search to messages index.
Changes to messages index search.
Merge branch 'badges'

Conflicts:
	stacksy/app/assets/javascripts/application.js
	stacksy/db/schema.rb