Code cleanup

This is a major source update Pinging @loadfive @gprasant for feedback.

While working on knwl.js I noticed a great deal of the tabbing was all over the place. I have gone though and enforced everything is **4 spaces** for a tab. This means alot of the code is now much more readable on how "deep" you are.

I also replaced all uses of `alert` with `console.error` so that if/when we move to a node module or so
mething that could be compatible with node. It will be a lot smoother.

I also made sure that all the multidimensional array's are spaced out more, making appending to them a great deal more easy.

![rksupft](https://f.cloud.github.com/assets/1504626/1805655/b691d3de-6c8b-11e3-99a4-7e4a76feade5.png)

Overall I think this will greatly improve the code readability of the whole project!

Have a great xmas :christmas_tree: