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.
Include changes in files + implementation stub
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.
Started changing files #150

There are things left to be changed.
Id for type of sections is now changed to:
0: header
1: section
2: examples/tests/etc (change this to three separate ids?)
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 entryupdate.php + changed files #150
Bugfixes
Fixed drag and drop

Drag and drop now updates to the database
Added right amount of filelist