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 (see #277)
- Update default database population code (exception handling, improve readability, use constants instead of hardcoded strings)
- Update LifeLines plugin permissions