Indexing support for container elements

Currently, providence does not provide support for indexing elements
inside a container. Our contribution will make this possible.