Do no reinvent dibi (use (%s))

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Delete from [ajxp_user_rights] only for the current user (add [login] in where clause)
Also use more dibi (use (%s))

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Do no reinvent dibi in listRoles() / class.sqlConfDriver.php

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Use dibi %~like~

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Use dibi %in instead of (%s) where appropriate

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Rework "regexp" in listUsersPaginated / getUsersCount in class.sqlAuthDriver.php
Now "^a" matches everything that start with a
"a$" matches everything that end with a
"^a$" matches exactly a (wasn't working)
"a" matches everything that contains a (was matching exactly a)

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Add PostgreSQL support to class.AjaXplorerUpgrader.php
Rename .sql to .mysql

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
"ON DUPLICATE KEY UPDATE" is mysql only, remove it

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>