There was a problem with the current implementation of the table details, when
compiled in production mode, where the method that created the details element
would throw an exception.
Besides fixing that, this commit also improves the way we define the details.
Now instead of sending the component name, through the 'detailsComponent' attr,
we need to get the current selection via 'updateSelection' attr and declare the
detail component inside the cdTable and add the cdTableDetail attr to that
element.