Entities are activatable models

@robdmc @Wilduck entities are now activatable models. Previously we had already accounted for active/inactive states. This code makes the entity model inherit from BaseActivatableModel, which ensures it can't accidentally be cascaded deleted (force=True must be applied to actually delete an entity)

The default model manager was also updated so that only active entities are returned from Entity.objects