Fix onComplete in console

Right now the example in RTFM does not work. Firing the 'complete' event on the JS Console object will just return a JS error when provider is not set.
Fix MODx.Console.onComplete when provider not set

Merge remote-tracking branch 'origin/pr/549' into develop

* origin/pr/549:
  Fix onComplete in console