Start adding support for roles.
Add abilities for roles.
Move JSON generation to JBuilder.
Fix bug in battle.
Move permission control to CanCan.
Add functionality to promote/demote user to moderator role.
Fix comments display order.
Remove unused methods.