Replace morepath with bottle.py.

Unfortunately, morepath cannot server static files in Python 3.
Add syncing with database.
Add saving data to IndexedDB.