Recovery logic updates

-proxyhost parameter passed to virtualscreens for  JSON/DWR messaging
-fixed recovery logic bugs
--new db setup
--only the sessions with persistent flag are recovered after server
startup