detect if a submission url contains a build id

save both build_id and app_id as metadata on the form
Merge pull request #3035 from dimagi/build-id

detect if a submission url contains a build id