Hold the translation lock for limited time

Allow lock to expire after one hour from loading the page.

Signed-off-by: Michal Čihař <michal@cihar.com>
Prepare for move of some project settings to resource

Issue #507

Signed-off-by: Michal Čihař <michal@cihar.com>