IndexConfig and build fix for play 2.1-RC1

...following play 2.1 migration guide
and cthoma's comment https://github.com/cleverage/play2-elasticsearch/issues/7#issuecomment-11035815

works now for us with play 2.1-RC1