Various bug fixes.

All calendar entries are now pulled from google calendar.When syncing
with google calendar, don't 404 on missing clients or categories;
instead create them. Fix issue when viewing time entries for an
invoice.