BUG: PeriodIndex slices with out of bounds results incorrect
Closes #5407.

side issue does DatetimeIndex handle this properly?
 thanks!
 Yes it does. Test case includes `DatetimeIndex` to check `PeriodIndex` behaves identically as `DatetimeIndex`.
