Allow Application model customisastions with a new config value

Also changes the original Application model to allow the search index
configuration to be altered (otherwise the first one wins)
Basic search configuration