use a number of methods to try to find a build number in a form

including pattern matching in the meta.appVersion.#text
and pull this out for reuse