Strip paginator vars from SlugTreeBreadcrumbs urls

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Fixed isDirEmpty in core\io\Util

Signed-off-by: Tom Wright <tom@inflatablecookie.com>