support for typeahead via workspaces object

wrapper for typeahead functionality plus unit test
I'd love to see an `@example` section here, so people can easily see what parameters to pass, maybe?