Added functions to json and calendar

Added functions for calendar events for whole calendar vs single day.
Adjusted controller, library, model accordingly. Changed calEvents to
print out json result.
Added calendar javascript page to view

Added calendar.js to calendar view and started the function to get data
from the database for use front side in the jQuery calendar.