This commit contains several fixes and additions

- mongoose has again been reverted to v5.3
- pilight-daemon cannot be killed before it's fully started.
If you kill pilight before all threads are running a
undefined behavior can occur.
- When pilight stops the latest in memory config is written
to the config file. Previously, this happened somewere
in between all operations that run when pilight is stopped.
Dumping the config is now done as the first operation so
nothing can effect this operation afterwards.
- The sunriseset protocol should finally work.
- The Lirc protocol was updated with some fixes.
- The datetime protocol now has a formatting setting.
- The webgui has been updated to allow this formatting.