add getMinimalUpperBounds to Poset

@yilongli please review