dynamically create index settings #161
This replaces index-settings
with a function, to make sure all the conf params used for index settings have values dynamically obtained from the current conf core.
Previous implementation worked fine in dev environment. In production, however, when index-settings
was calculated, conf parameters were all nil, and then stayed nil for good.