have submit_case_blocks return the submitted form id
add ability to close case form the UI

http://manage.dimagi.com/default.asp?128211
Merge pull request #4024 from dimagi/close-case-ui

add ability to close case form the UI