fix(app): many changes, expose locale and use it with dates, use qmlRegisterSingletonType instead of context properties