bufhub: implemented clipboard ops and added tests for them. closes #1