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

closes #677 and #542 
as [described in the issue](https://github.com/onaio/onadata/issues/677) the version datetime does not have seconds. Do we want it to have seconds?