Moved JSON to library

Moved json.php to libraries and renamed Json.php per naming convention.
Got json function to correctly fetch from the database and output valid
json.
Changed query string to fix always returning null

Changed query string to include ‘’ around $date, now correctly queries
database.