Extracted Duggasys files from CodeViewer folder
Moved general functionality to shared

Moved some general functions that could be useful for everyone to the
basic.php in the shared folder
Moved some functionality to duggasys.js

Created a file named duggasys.js (temporary name) and moved some
DuggaSys related content to that file
Revert "Moved general functionality to shared"

This reverts commit d762a70e90e4c7ac13cdf2e729db4c4986ac064e.
Made changes with the correct account
Revert "Moved some functionality to duggasys.js"

This reverts commit 3fd1b89bf17f86151587fd3c752fa53399ef68fb.
Made changes with the correct account
Fix some issues with paths in the moved files.
Merge remote-tracking branch 'origin/duggasys-extract-sessioned' into duggasys-feature-login-system-#93

Conflicts:
	CodeViewer/Courselist.php
	CodeViewer/basic.php
	CodeViewer/js/codeviewer.js