Add ways to get only closed pulls, and only external pulls

the rolls-royce of coding right here