szarp auto-login using remarks server address from /etc/szarp/szarp.cfg and md5 of prefix configuration file as password.
Merge branch 'cfglogin' of ssh://szarp.git.sourceforge.net/gitroot/szarp/szarp into cfglogin
New authorization idea for login with configuration:
* Assuption 1: Database has users of type (<configuration prefix>,<configuration hash>,<description>).
	-These users have usernames similar to database/configuration prefixes,
	-These users have passwords equal to MD5 hash of prefix configuration file,
	-These users have all the necessary permissions specified in remarks database,
	-These users have correct permissions in database for aggregated prefixes.

* Remarks server code was not modified a lot. Right now it just supports login with
"login@prefix" type of username. The standard login procedure will not login this type of
user unless it exists in database. We want to keep "login" of user to use it for draw_sets,
remarks and user params he adds, but we want to login all users of type "x@prefix", "y@prefix",
"z@prefix" to the same database accout called "prefix". Thats why remarks server now parses
the login after incorrect authorization in search of this type of username (it lets the database
have just one user "prefix" for all users of this prefix.

* Draw3: Username is now taken from wx enviroment (wxString wxGetUserName).

@TODO: Implementing hash history (right now every local, uncommited change to
configuration will result in disabling cfglogin).
* Removal of unused constants,
* Minor refactoring of comments,
* Hash history on the server side (scripts not included),
* Remarks servers checks hash history to see if given hash is present.

TODO:
* hash age,
* multiple identical hashes of same user in hash history (use hash age here).
* Hash history for draw3 cfglogin:
- another timer started if cfglogin is used,
- periodical check if hash of params.xml has changed,
- pushing old hashes to history deque (if different),
- when xmlrpc command fails with reason "Incorrect username or password" and cfglogin is used
we make naother attempt number of times equal size of history deque.
* Code after testing - some debug removed,
* draw3 hash history functionality,
* remarks server hash history and hash timestamps checking.
* Corrected sorting of hash history timestamps (newest date first),
* Corrected creation of hash history timestamp list.
* unsigned/signed int comparison warning correction,
* Minor code refactor.
* Work on checking params.xml files for changes from remarks server and updating
password hash in remarks database for autologin users accordingly.
* An initialization routine was added: Only prefixes|usernames marked as autologin=1 in
database are updated with the below method,
* A cyclical (interval defined at the beginning of remarks_server.py file) task was added for
checking hash of configuration files,
* Added updating remarks database password hash for users marked as "autologin" according
to hash of file "/opt/szarp/<prefix|username>/config/params.xml". If file hash is different then
it is used to update database.
* Work on adding /opt/szarp and remarks database sychronization.
* List of prefixes and their aggregation from szarp dir and fetch prefixes and aggregations from database for comparison.
* Databse /opt/szarp prefix and aggregated_map synchronization (with database modification). Tested.
* /opt/szarp synchronization code
Remarks server new functionality:
* Add missing prefixes and aggregated information into database from szarp root dir using xmlrpc call,
* Python script "remarks_client.py" for calling the database sync routine,
*lua_parser: further splitting
* better logging in boruta, potential fix for modbus client
Fixed locking borutadmn in CONNECTING state
Merge branch 'master' into cfglogin