fixes JAVA-916
add support for index options
compat API tweaks for morphia
resolves JAVA-916 add support for index options