issue #15504: Fix application check to work correctly.
issue #5837: Fix problem where dissallow mismatched versions logic was reversed. Also touch up cosmetics.
Merge pull request #16 from jrogelstad/master

issue #5837: Fix metric checking problem. Improve cosmetics.
Merge pull request #6 from xtuple/master

update