Fix the title of edit modals from the unit page.

The last bug fix I made for the editing containers story introduced this new bug. I somehow lost the logic for getting a display name for an xblock rendered on the unit page. I've reintroduced the logic and written a unit test to verify that the correct title is shown.

@cahrens Please review.