Issue #258: Improved Stack Tracing for Errors; qUnit Update

Overhauled error handling system by replacing ineffective inbuilt system with an external library (TraceKit): https://github.com/occ/TraceKit

The new system gives accurate line numbers and strack tracing 

Also updated qUnit from 1.3 to 1.12