Limit results to published pages

Use the public() method of PageManager to filter published pages rather than direct attribute access.
Merge pull request #4 from acspike/master

Limit results to published pages