Updated the user and course tables some more

Fixed an error in the course table and changed from the default
character set and collation for the user and course tables.
Merge branch 'codeviewer-master' into codeviewer-feature-database-#75
first update in database.
Section tabel returned
Changed tables in database

Fixed conflicts on table section
Changes to get database work.
SectionedServcie updated by database changes
Fix courselist

And some smaller changes
Changed selections from database

Included master-codeviewer changes.
Merge remote-tracking branch 'origin/codeviewer-master' into codeviewer-feature-database-#75

Conflicts:
	DuggaSys/basic.php
Changed the releation of templates

And some other fixes.
Database model

Created with workbench.
Merge remote-tracking branch 'origin/codeviewer-feature-database-#75' into database-changes
Added listentries table

TODO: Add some foreign keys
Added right amount of filelist
Update init_db.sql

Removed not null from code_id, since not all listentries will make use of this attribute
Merge branch 'develop' into codeviewer-master
Changes database qureys in PHP

Made changes for the new database.
github indentation probs.
Merge remote-tracking branch 'origin/codeviewer-master' into database-changes

Conflicts:
	Shared/SQL/init_db.sql