677 add version number to xform and endpoint to replace a form

closes #677 and #542 
Cool. Always learning