Clarified creation of code examples

Changed the first option of example selection to "New" to clarify that a
new code example is created if none is selected.
Added some security to course and section forms
Alertbox update!
Alertbox css update........
Fixed security when adding new sections

Courseid now available as a session
Added user menu

Added a user menu when users are clicking their username next to
login/logut button.
Also added a cancel button to newpassword.php.
Merge remote-tracking branch 'origin/duggasys-master' into duggasys-Quiz
Merge remote-tracking branch 'origin/duggasys-master' into duggasys-Quiz
Updated studentlist

Updated a draft for studentlist.
Removed an unnecessary include of jquery

jQuery is already included when a page is loaded, including it again
breaks things.
Fixed some bugs with the studentlist
Merge remote-tracking branch 'origin/duggasys-feature-studentview' into duggasys-Quiz
Merge remote-tracking branch 'origin/duggasys-master' into duggasys-Quiz
Minor fixes to use $_POST where needed.

Also, fix an SQL query and make the pagination use the course id.
Merge branch 'duggasys-Quiz' into duggasys-feature-studentview
Made addstudent_ajax slightly more robust

And added some logging.
removed </inut>
Merge remote-tracking branch 'origin/duggasys-CourseMenu' into duggasys-Quiz

Conflicts:
	DuggaSys/css/style.css
	DuggaSys/header/content/header.php
	DuggaSys/js/sectionhandler.js
	DuggaSys/pages/newSectionForm.php
Merge branch 'duggasys-Quiz' of https://github.com/HGustavs/LenaSYS_2014 into duggasys-Quiz

Conflicts:
	DuggaSys/css/style.css
Merge remote-tracking branch 'origin/duggasys-feature-studentview' into duggasys-master