move Lacuna.Panel into standalone Panel class
game->menu can be a normal dependency
all files which call require([]) now list it as a dependency
save rpc data result.empire,result.body under result.status for consistency for other code
handle browser page-refresh

* keep login session ID in session cookie
* if session cookie exists, don't require login
clear user data / buildings on logout
consistent capitalization to enable searching
get rid of illegal trailing commas
silence 'seconds' var masking 'seconds' argument warning
remove unused variable
circular dependencies

between lacuna <> empire < login <> lacuna.
between lacuna <> body.
always use require("") to access other modules within a circle.