Added minimal checks on username and password in login page: avoided 0 length
Refactored set_alert_message_and_show() function in login page: added hide and show code, with parametric delay on show. Added jsJOMlib__isInteger(n) function in generic_lib.js to check that a variable is an integer number; accepted also strings containing the value