Implement tiered sorting for case details

Add the functionality for tiered sorting to apps on version 2.2 or
greater.
Implement default sort option
Restrict sort xml lines to case_short properties
Refactor sort item naming
Sort order property is now 1 indexed
Fix issue with tiered sort renamings
indicators should create a new indicator with incremented version number on update for admin ui
Merge pull request #526 from dimagi/indicator-admin-fix

indicators should create a new indicator with incremented version number...
add support for running various management commands in CCHQ
display output text better
Merge pull request #527 from dimagi/ui-commands

Allow superusers to run certain management commands through the HQ admin UI
Rename sort property types
Merge branch 'master' into tiered-sort

Conflicts:
	corehq/apps/app_manager/views.py
Merge branch 'tiered-sort' into staging2