Refactoring display code for the Available (and new Period) types.

MVC whaaat?
Availability now has Day and Night settings. UI changes to follow
UI Changes for day and night availability. ajax now expects text not html
Changes to EventR to show day and night availability

.cabal and foundation changes which were forgotten earlier