Convert forms to ajax

http://manage.dimagi.com/default.asp?115095

Changed each form to submit asynchronously.

It now tracks changes for the other two forms as well and tells the user what has been saved successfully.
I amended the commit as the second one was unnecessary. Should include all of your suggestions.