Do some PSR-2 updates for the ui

Ran the PHP_CodeSniffer on numerous UI files and fixed a number
of issues. More updates to follow.
Modified template files (task.review.tpl, task.review-form.tpl) so that they will only display a single form with a single submit button. When viewing previously entered reviews, it will omit the comments field from display if no comments have been entered. Also added a divider between different tasks. resolves #547
Made the UI route handlers conform to PSR2
Merge branch 'develop' of gitlab.trommons.org:solas-match into develop
Fix several aspects of the GraphViewer

Replace several magic numbers with consts. Make PSR2 compliant.
Part of #699
Make UI libs PSR2 compliant
Make Common PSR2 compliantO
Done necessary changes to UI related php code for upgrading Slim version to 2.4.0.
Reformatted files to better conform to PSR2
Merge branch 'develop' of gitlab.trommons.org:solas-match into develop
Make API libs PSR2 compliant
Merge branch 'develop' of gitlab.trommons.org:solas-match into develop

Conflicts:
	api/v0/Users.php
Fixed error in schema file

There was an error in the schema file where END // was used
instead of END// which caused an error in the teardown logic
Fix errors where dart templates get displayed

Put the polymer template stuff in a span to prevent it from being
displayed on browsers that do not support it. Must be added to the
other three pages as well. Part of #732
Edits made to Database Access Objects in order to make the code more compliant to PSR2
Merge branch 'develop' of gitlab.trommons.org:solas-match into develop
Fix dart templates on old browsers

Make the templates of polymer elements hidden so they do not
display on older browsers. Closes #732
necessary changes were done to upgrade API to the latest Slim version (2.4.0)
Fix error in the getUserTopTasks DB proc

Fix strict notifications. user_id was used instead of id on the Users
table. Closes #736
Remove echo from graph viewer

Replace the echo with some real HTML for display. Part of #699