Cleanup, new "source" and "index" resources, configurable searchd and indexer options.

As described in title. Should be backwards compatible. Please take a peek at my changes and see if you like them!