new method: ensureIndex

ensureIndex checks if an index for a model exists and creates it with (configurable) options. Here is a todo open to manage the configuration centrally or via the model schema definition.

ensureIndex hooks into mlcl::database::registerModel:pre

Signed-off-by: Alexander Knapstein <alexander.knapstein@inspirationlabs.com>