Bistability, self-sustained oscillations, and irregular operation of a GaAs laser coupled to an external resonator