Adding the slug attribute on top of page id attribute to the pages:has, pages:url and pages:children plugin functions

Adding the slug attribute on top of page id attribute to the pages:has, pages:url and pages:children plugin functions.

This allows these 3 plugin functions to be called from within a theme also using the page's slug if the id is not supplied.