OR-808 Simplify AS query with one function and options
OR-808 Add midways and fix unit tests
OR-808 Fix after rebase and better tests
Merge pull request #590 in OR/rse from OR/rse-chamerling:OR-808-writable-activitystreams to master

* commit 'fdf930ec3ce304efde3cf47eb45254ef6f54cb98':
  OR-808 Fix after rebase and better tests
  OR-808 Add midways and fix unit tests
  OR-808 Simplify AS query with one function and options