ENH: print more detailed truncated sequence if a limit is given

works similar to numpy except that the edgeitems is overriden by threshold rather than the other way around which is what np does.

closes #3391 

- [x] add release notes