Fixed bugs in SunPath hourly data selection

Multiple issues with hours and days. I'm surprised that nobody reported
this before. Thanks to Abraham this is fixed now.
There are still two more fixed for sunpath to be addressed today.
Modified sunpath to work with list of HOY

It has been a while that I wanted to modify the sunpath code so instead
of iterating through days. months and hours which has multiple
limitations the component calculates the hours of the year based on the
inputs for months, days, hours or analysis period and then iterates
through them.