detect if a submission url contains a build id

depends on https://github.com/dimagi/couchforms/pull/104

save both build_id and app_id as metadata on the form

step one of http://manage.dimagi.com/default.asp?33472