Expose interfaces for pruner and make pruner tool.

In order to run database cleanups and diagnostics, we should have
a means for pruning a database---even if LevelDB does this for us.
Merge pull request #236 from prometheus/feature/tools/compactor

Expose interfaces for pruner and make pruner tool.