Define the proposition IsGroupoid of a precategory

Also define the precategory of strict groupoids.