Update indexer.php

Reduce the verbosity in the owncloud.log (and save a little bit of time) by skipping the extractMetadata() logic when dealing with directories
Merge pull request #1284 from gwolf/patch-1

Update indexer.php