Make object_type and object_id required

This will prevent internal server error in create comment
if either of these is missing and instead return a
jsonified error message and status code 400.