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), add ``equals`` comparison method
           ``__eq__`` et al added by others
- TST: add period support to makeCustomDataFrame for testing purposes