Added a way to destroy all components in an entity, which resolves #10.