Add get_context(), get_index(), get_ignores()
Add get_context(), get_index(), get_ignores()

This will help with reducing repetition in the individual commands. It
will also let us move the invalid path code out of the Index and Ignores
models, which was a terrible idea.

mcgid/morenines,mcgid/morenines