cleanup and document operation_primitives API
Merge branch 'master' of https://github.com/ld4apps/lda-serverlib