extract index declarations into rogue-index

Extract the index declaration code into a new artifact: rogue-index.
This makes it convenient to refer to the index declaration code without
depending on rogue-core.