move examples-runner require to gulp task to prevent interference with other tasks
Simplify example runner module and cleanup error logging