Removed singleton pattern from session and cookie
fixed some bugs in templates and form( element: text did not used option required)

Signed-off-by: Alexander Book <redchrome@gmx.de>