Fixed: renamed default database name to lowercase.
Fixed: deviceid field is renamed to device_id in DomotiGa's beta branch.
Fixed: endtime was of by one hour.
Fixed: typo in Built chart..
Fixed: Use isset() to prevent Undefined index notices when using Strict Standards.
Fixed: Replace mktime() with time() to prevent notice when usint Strict Standards.
Fixed: Correctly escape MySQL input arguments.
Merge pull request #1 from cyberjunky/master

Small fixes...