Started javascript client

+ Made Session expire = 1 Year
+ Added some debug info to server.cpp
Why would you ever do this?

+ Fix, Took me long to find!
Added protocol enumeration to javascript client
Started login form