Test updates.

grunt-contrib-connect updated so it supports `open`
onerror handlers added to image loads
Test runner index.html removed and created _SpecRunner.html used instead.
jasmine settings altered accordingly.
phantom based jasmine set to use connect server instead of file://
findopenports removed
bezierCurveTo and quadraticCurveTo toleranced upped to 0.008, otherwise they don't pass in phantom
Merge pull request #541 from MannyC/tests

Test updates.