Check for success in loadArrayBuffer's onload handler.
Improve consistency of `load...` functions.

Also add additional tests for them.
Merge pull request #438 from AnalyticalGraphicsInc/loadArrayBuffer

Check for success in loadArrayBuffer's onload handler.