[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.
No rush, doesn't have to be today. I'd rather create a separate file and test class for that, let's keep it isolated.