CLN: refactor core/index and tseries/index,period to have their format, to_native_types methods consistent

- ENH: add support for Period formatting (as a native type)
- TST: add period support to makeCustomDataFrame for testing purposes