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.
In the entity. It's a field the user enters on the page's edit screen in the ACP. There's a get_page_order and set_page_order methods in the entity.