Initial typescript commit:

Moved js files into src directory and changed the file extension to
typescript.
Added the typescript related configs to package.json
Set up build system with typescript.
Code is in a working state.
Merge branch 'development' into typescript

Conflicts:
	package.json
	public/sdk/controller.js
	public/style.css
	src/email/email.ts
	src/http/express.ts
Merge branch 'development' into typescript
Fixed an error in emitter.ts
Moving the test files.
Changed the path of public folder in express and removed a console.log
in directives.js
Fixed a jsHint warning reg function inside a loop