support for typeahead via workspaces object

wrapper for typeahead functionality plus unit test
Yeah, it will also get picked up when I run `gulp docs` after merging.