A bit of refactoring
ko.utils extend only works on two items at a time. I added my own extend which does an arbitrary amount of extensions.
Some renaming.