Add store_item() virtual method to type to implement container[index] = val

Reimplementation of https://github.com/micropython/micropython/pull/189