Add endpoint directory_get_entries, to quickly list a directory's entries
It spares a join with the content table, which should hopefully make the vault (and possibly other users) faster when they don't need this join.
Migrated from D5723 (view on Phabricator)