Move app logic to chat-page

Front end now moved from index.html to a polymer element called
chat-page in order to handle events in a declarative (polymer) style.