added option to format time to 24 hours

I wanted the option to display the time for sunset and sunrise in the 24 hour format so I added that functionality and also made it a new option in the settings.

Some changes are only trailing white-spaces which my editor automatically removed.

I hope I did everything right :)