Remove discovery-dir code.

There is a better way to do this. See comments here for rationale:
https://github.com/google/hesokuri/issues/8