replace uiElement.map_list with a richer widget that allows sorting

uses knockout but provides a similar interface to the uiElement functions
remove newly unused code
Merge pull request #1607 from dimagi/id-map-sorting

Id map sorting