add comparisons operator to the Period object and fixes issue 2781

This commit should fix [issue 2781](https://github.com/pydata/pandas/issues/2781). The Period object couldn't be sorted because it didn't have any __le__, __gt__, __lt__, __ge__ or __cmp__ methods.