code for protege-user subscription

a) do mailing list subscription form submission through ajax b)
refactored some existing code to new JS file c) cear contents of
subscription dialog when cancel or close button is clicked.