Empty DataFrame with PeriodIndex doesn't maintain index type on resample
ref: https://github.com/pydata/pandas/pull/13079#discussion_r63645752

``` python
In [5]: pd.DataFrame(index=pd.PeriodIndex([],freq='D')).resample('M').mean().index
Out[5]: Index([], dtype='object')
```
