Refactored client to use ZK's $define.
Updated documentation.
Updated test page to include examples from documentation.