Cleaned the code
- jslinted everything
- used lab instead of mocha (because smaller)
- moved code to lib
- fixed a tiny
Merge branch 'martinheidegger-master

Conflicts:
	connection-pool.js
	node-crate.js
Merge branch 'martinheidegger-master'