added functions from current live DgwUtils.php
added buildForm functions for GroupContact - still needs testing