Merge pull request #19 from uProxy/iislucas-chat2-fix

fixed track by index for messages in chat2 & typescript d.ts for tcp and udp
move freedom require statements inside the grunt exports section so the gruntfile can be included by dependent repos without the freedom packages needing to be in node_modules
move the require statements so that they do not run when another repo imports this gruntfile, only to re-use Rule
Merge branch 'dev' into trevj-require-fix

Conflicts:
	Gruntfile.coffee
	package.json
Merge pull request #26 from uProxy/trevj-require-fix

fix issue where repos importing this Gruntfile need to have freedom(-for-*)* packages installed