Frontend: fix crash
Adopt uwsgi.ini to production

lhs_ looks like lhs_frontend.py, just w/o app.run()
DB: fix get_timestamp crash b/c r/o attr
Frontend: fix crash on device.html
Docfix