Merge branch 'duggasys-master' into duggasys-feature-login-system-#93
Function for closing with esc-button

Added new functions to startpage.js for escape button and also a
function for return from forgot-pw to login-screen.
Changed some styling in duggasys and made it simpler to controll the
design for login-screen.
In index.php a new button for "back" was implemented and then some minor
changes.
Prompt for new password on first login
Added back button to answer box

Added a button for the answer box in index.php.
Made some minor styling changes to the css file.
Minor change to a function in startpage.js
Merge branch 'duggasys-feature-login-system-#93' of https://github.com/HGustavs/LenaSYS_2014 into duggasys-feature-login-system-#93

Conflicts:
	DuggaSys/index.php
	DuggaSys/startpage.js
Merge branch 'duggasys-feature-login-system-#93' of https://github.com/HGustavs/LenaSYS_2014 into duggasys-feature-login-system-#93

Conflicts:
	DuggaSys/css/duggasys.css
	DuggaSys/index.php
Removed remains from merge
Changed color to white

Updated basic.php
Some minor changes for style

Minor changes updated for the login in basic.php
Removed class name for <td> as well as added a span-class for the header
text
Password updates

Added some password length requirements, made forgot password typo-safe.
Made some of the js actually give the user feedback.

Addtionally a constants.php file has been added to make password length
requirements configurable.
Quick fix for the previous commit

75f589f880a7889e65ccdbb09c5d29e6cde0902c contained an echo to
mysql_error, that's not really what we want.
Some documentation

Commented the majority of the "complex" functions in the login system to
explain some of the functionality.
Made the forgot passwd form display errors inline
Updated a comment
Merge branch 'duggasys-feature-login-system-#93-stable' into duggasys-master