Valerie: added new interfaces; Knockout: fixed .register overloads

Valerie: added new interfaces and methods, added additional code to fix this.

Knockout: see #2732 - added overloads for .register method of ko.components