Provide create_index/3 with options doc

Care to merge back? Needed this be able to atomically create new indexes including mappings (haven't done a jsx based implementation for master, though).

Cheers,
Martin