Add function get_active_object and bugfixes

* Dont throw errors in overlay.get_projector_html if debug == False
* fixe check of active slide in agenda
* Fix #1121
Merge pull request #1123 from ostcar/overlay_error

dont throw errors in overlay.get_projector_html