Moon phase based on year length

Changing the year length now changes the moon phase length (rather than
it being stuck at 8)
Mon phase calculated once a day

Changed the moon phase calculation to only calculate once a day to avoid
wasted CPU time.
Merge pull request #649 from Gibba2807/MoonPhase

Moon phase based on length of month