Implement extend functionality.

- Now classes can be extended onto the base
  TK class.
Use $TK.extend to extend the Data namespace.
Update specs after recent changes.