elasticsearch: records and facet configuration in jsonalchemy

Signed-off-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
ping @jma ?