A fix for #694
CS fix.
Fixed ambigous comment.
Restored current URL as login form success URL
Added a configurable limit to the number of log files.
Backup files are renamed using the current time
Changed line terminator to DOS
Added comment to describe the script purpose
Windows version of the .sh
Fixed MyAccout detection
Fixed shebang
Merge pull request #695 from roadster31/previous-url

"Previous URL" management improvement.