Should fail when there is a page error

It seems that `mocha-phantomjs` ignores page errors and exists with 0. This can completely disable entire spec suits if there's a reference error for example.

This patch adds `onError` handler and fails the test if there's a page error.