Fix language selection on home and summary pages
For #1055: cosmetic improvements

- also add Refresh button
- Summary: shorter date formats
- add <common> section in resources
xf:alert-dialog: support xxf:modal
For #1055: Links to Summary/New, fix am/pm, modal buttons