Update tribe-templates.class.php

Checks that $post exists before calling it.  Fixes an issue with conflicts with other plugins and/or custom post types.

Notice: Trying to get property of non-object in /Users/Support/dev/WordPress/wp-content/plugins/the-events-calendar/lib/tribe-templates.class.php on line 688