Fixed inheritance and function definitions in Kockout

- fixed inheritance
- fixed fn definitions
- *Functions interfaces made generic to allow generic extensions
- added more options in KnockoutComputedDefintion