clean up
have app_strings call get_detail_column_infos for columns

this deduplicates the functionality of calculating which sort elements are sort-only
sort multiple sort-only elements correctly
fix blank translation bug by omitting superfluous local ids in case detail
have blank translations count as not there in test
Merge pull request #1498 from dimagi/sort-only

sort multiple sort-only elements correctly