Fix failing sms req test
action sort tweaks

- add date based sorting back.
- ensure forms with the same id are grouped together
- rename function to be clearer
switch from datetime to date and add comment to prevent this again
fix test
add more explicit tests for action sorting behavior
Merge pull request #199 from dimagi/stupid-tests

clearer rebuild action sorting behavior