Add master and detail controllers to their parent.
Delay setup until the view is loaded.

This seems necessary for use with storyboards.