add ability to close case form the UI

http://manage.dimagi.com/default.asp?128211