Merge pull request #2 from DrJest/master

Fixed Preferences && Images
Fix project management form name
Permissions fix
fix users autologin on register problem and redirect loop if hosted on dyndns
user of dynamic session name insted of hardcoded sessionid
fix edit language javascript issue
Always specify script type