Updated the calendar day

The day of the month is now shown in the calendar view.
Corrected some of the responsive layout.

Added information regarding the screen resolution and altered the time
graphics by changing the pixel sizes for recording the time.
Also changed the front page to be responsive when viewed at differing
resolutions.
Also updated the daatbase connection layer to use mysqli and a static
class.