added a debug toggle and json template loader

when using bowtie.load(), you can now specify load(true, SOME_JSON) and
it will pass the object into the template_cache object and REPLACE it.
This is useful for fetching the entire template object via ajax and
pushing it right to bowtie