Implement fladgejt-rest with new API.

Hmm, rovno dopln check_connection a logout ako su vo webui/__init__.py. Pricom logout bude prazdny (iba pass) a check_connection spravi `request_json('')`.