Update pages.plugin.php

displays only published pages!

additional add to the documentation
<h4>Get only published pages</h4>
<br>
<pre class="prettyprint"><?php echo Page::published(); ?></pre>