Priority Contracts and Priority in Bankruptcy