Populate database on application started event + LL ui.xml change

- Move initial population of the database from a hook in the Home plugin to an application listener.
- Update default database population code (exception handling, improve readability, use constants instead of hardcoded strings)
- Update LifeLines plugin permissions