Sort episodes in reopen modal.
Bug introduced by refactor of admission date to Episode.

refs openhealthcare/elcid#9
Add tests for episode sorting in ReopenEpisodeCtrl.

refs openhealthcare/elcid#9