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.
Brought back old style changes
Merge branch 'duggasys-Quiz' of https://github.com/HGustavs/LenaSYS_2014 into duggasys-Quiz
Possible to load old librarys #392

It's now possible to load old librarys. Do this by selecting an already
created library at the beginning.

Known issues:
- Export lib with 3 images, load lib and delete images from it. If you
then load the same library without exporting it images will be missing.
Merge branch 'develop' into playereditor-master
Merge branch 'develop' into duggasys-master
Merge branch 'duggasys-master' into duggasys-feature-studentview
Merge branch 'duggasys-master' into duggasys-Quiz
Implemented reset password functionality
Fixed my results page

Now possible to see quizzes that are available to the user that has no
answer + quizzes that has passed the deadline will now be marked as
yellow. It's also possible to see the deadline of every quiz.
Fixed some pagination bugs
Made sure password resets force a password change

newpassword has to be set to a non-zero value to force the user to
change their password on login.

Addtionally some code styling fixes were made.
Implemented reset password functionality
Made sure password resets force a password change

newpassword has to be set to a non-zero value to force the user to
change their password on login.

Addtionally some code styling fixes were made.
Merge remote-tracking branch 'origin/duggasys-Quiz' into duggasys-master