added in sinon for stubs, added SQLQuantum.js for selecting from mysql and various test for new code