fix api wrapper as CRM_Core_Exception fatals on the PEAR exception getUserMessage despite extending that exception
CRM-13067 fix up membership date setting to be done in BAO & work for API
unrelated fix to broken test set up on BaseIPN
CRM-13148 basic tidy up - use 'recommended' functions / tpl js separation
CRM-13148 partial move of js functions out of the tpl into the js file
unrelated e-notice fix
CRM-13148 minor tidy up - remove smarty from js
unrelated e-notice fix
CRM-13148 preliminary cleanup - move rest of js out of tpl