Fix Component.getErrors() to return something other than undefined

@rev jbuchanan@
@work W-2043302@
Merging origin/dchasman/master-pending-fixComponentGetErrors into master