Made angular-owf compatible with running inside the OWF header

OWF.Util might not be defined when running inside the owf header.  Added a check that OWF.Util is valid before trying to access OWF.Util.isRunningInOWF