Improved the support of network error

In case of network error (unknown domain name for example):
- loadFinished should be called only one time
- "fail" should be given only on network error, not on http error
  (phantomjs parity)
Fixed a critical bug with some pages
Merge pull request #4 from laurentj/dev

Improved the support of network errors