Refactored index generation code so that similarities and differences between tags.py and indexes.py are more obvious.
Added new option INDEXES_PAGES_STARTING_WITH_LAST.
Continued refactoring indexes.py and tags.py so that most of the code is quite identical, and can be moved into a common utility function soon.
Moved index generation code into Nikola class.
Renamed option to INDEXES_PAGES_STATIC.
Created utility function to adjust path/link names for indices.
Added option to inject more uptodate dependencies.
Improved documentation.
Moved more config code into generic_index_renderer.
Fixed missing argument.
Added new option ARCHIVES_ARE_INDEXES which allows to render archive post lists as indexes.
fix adjust_name_for_index() for PRETTY_URLS

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
s/indexes/indices/

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
Replaced 'indices' with 'indexes'.
fix adjust_name_for_index() to use index_file

cc @felixfontein

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
Forgot to test whether deps_translatable is None.
Merge pull request #1542 from getnikola/indices_refactoring

Refactoring and unifying indices, and adding indices to archives