Option, store_passwords, get_url refactoring, etc...

Aded ability to handle some session options. as one of such,
'store_password' option was implemented. this option allows to store db
passwords in session, using simple encryption. also some get_url related
logic was refactored, in case to have only one URL template and oly one
way (method) to generate ERP_Proxy url