Notice on not existsing $modx->resource
Fix notice when resource not set in modX::sendForward()

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

* origin/pr/526:
  Notice on not existsing $modx->resource