media branch started
include config from index.html
socket wrapped.

wrapped socket provides onMessage callbacks which dispatch messages by type.
all messages are assumed to be JSON stringified objects.
file api is not required. dummystorage written.

arised bugs fixed in auth.js.
debug noticed translated to english.
pixel-sized nit fixed in main.css