Adds qunit to test library,
Adds kache.test.js,
Fixes/refactors main.js based from results from kache.test.js