Merge pull request #1 from abauer/master

I want this code.
Merge branch 'master' of https://github.com/abauer/Cal
This fixes some issues uploading data Grant's website which in turn will put the data in Michael's mySQL database. Currently, data can be uploaded by pressing the "Send Database" button on the database tab. On successful post (as determined by an HTTP Response 200 OK) the local database will be cleared as well.
Merge pull request #2 from KylePolansky/master

Fixes submit method for database