Allow +from+ option inside index to be a lambda

This allows users to populate the index at runtime. This way,
when you are using custom field names they don't need to be
present inside the model, but can be defined just for the
index.

Missing: specs!
Merge pull request #111 from tilsammans/from-lambda

Allow "from" option inside index to be a lambda