Add operator class and tests

This PR depends on #5 before it can be merged.

Also, the tests won't pass until the entity PR is merged.
The name of this does't really tell you what it's doing. Should rename to something like page_exists()