gh9084_get_schema_index_parameter
closes #9084 
- new parameters are added to the end of the definition to remain backwards compatible.
- `index` defaults to `False` (not `True` as in `to_sql`) to remain backwards compatible.
- added tests
