Use $pages instead of $files for creating navbar

I rewritten part of your plugin to use $pages from pages repository `findAll` method, so that ordering configured for CMS is respected. Also, 404 exclusion isn't necessary because it isn't included in pages array.