Format swap context info into table rows

Format swap context info into table rows.

Add `details` button and `select` button to each swap context row.  The
`select` button switches the GUI state to the corresponding swap
context.  The `details` button launches a modal pop-up showing details
about the corresponding swap context.