Entity status

Adds a status field to Entity and new authz functions for checking entity authorization. Status is an integer with a threshold assigned to indicate published status. As coded, status >= 5 is published. Default status is 0.

Partly addresses issue #61. Does not address issue with respect to Relations. Does not modify entity views to utilize this new functionality.