Add options to indexing.

There are now options to index all notes and to clear the database before
indexing. The clearing implies all notes. No option for dealing with dates quite
yet.
Add optional argument for indexing.