Add support for configurable first day of week

- Force loading of database configuration to retrieve the first day of week
- Order the day titles based on first day of week
- Change layout based on first day of week