Add Dart support

Adds test code for js use in dart. Adds TaskStream template.
Adds numerous convienence class to dart. Updates some routes
and DB functions. Dart code is unfinished and will fail.
Part of #392
Revert to json for API format

Revert code to use json as the API format. Leave non working js
code in comments. Task Stream is completely working. Closes #392
Replace form on user private profile with dart

Get all the data asynchronously with dart and populate the fields
as before. Handle form input in the dart and only send a request
if there are no errors. Part of #432
Merge branch 'develop' into dart

Conflicts:
	ui/templating/templates/header.tpl
	ui/templating/templates/index.tpl
	ui/templating/templates/user/user-private-profile.tpl
Update Task stream for localisation

Updates task stream to use the strings xml file load strings.
Also adds route to api to get the strings.xml file. #432
Add support for localisation to user private profile form

Part of #432
Merge branch 'develop' into dart

Conflicts:
	ui/localisation/Strings.php
	ui/localisation/strings.xml
	ui/templating/templates/user/user-private-profile.tpl