api and tests for extension.
Merge branch 'extension_post_and_tree_sync'
extension changes
Merge branch 'master' of https://github.com/jeffj/hypermarks