Added convenience function ED_object_active_context(C) to get either the object in the data context, or if not, the active object.
Added convenience function ED_object_active_context(C) to get either the object in the data context, or if not, the active object.