[MODEL] Added dynamic getter/setter (block/proc) for MyModel.index_name

Fixes #155.

The following changes could also be applied to elasticsearch-persistence (I guess) if you want me to do it.

The tests are not very easy to read... I am taking recommendations. I have also signed the CLA.
These tests are a bit repetitive, one is enough I think?