Bug fixes for bugs that have to do with login and section editor
functionality. Unsure wether this introced downstream bugs or not.
SQL fixes
Minor fixes to previous fix branch
test
changed  back
Merge branch 'Untested_Additional_Codeviewer_Fixes' into duggasys-master
Merge branch 'master' into duggasys-master
Modularized Consolerenderer.html into multiple js-files
Added canvas program
Move javascript files

Moved javascript files to separate folder
Moved jQuery to JS-folder

Minor change
Repeat functionality

Now possible to repeat after playback is finished.
Repeat button/functionality added

The playback can now repeat, but will need proper icons.
Added a stub for the canvas wrapper.

Still a whole bunch of the canvas function calls to implement
Moved some of the more general functions to a shared file

CodeViewer/basic.php contained some functions that could be useful for
the rest of the projects as well (such as database connection and
query code).
Changed repeat button images

Added new correct repeat button images
Split basic.php up into smaller parts

The following changes have been made in Shared/
Database functions have been moved to database.php.
Login related code has been moved to sessions.php
course-related functions have been moved to courses.php
Added prototype for imagerecording
Added two folders for Consolerenderer and Imagerecorder.
Separated javaScripts for Consolerenderer
Changed paths for images used by Consolerenderer
Changed name on Imagerecorder.html
deleted unnecessary file