Implement awakeFromNib

The view setup code has to be called from awakeFromNib to make the control work when decoded from a nib file.