Move uid and DISTARRAY_BASE_NAME to utils.
Add `apply` function which is analogous to IPython.parallel's apply.
Tests for new apply function.
Add return value flag.
Return function result by default.
Refactor argument handling.
Merge branch 'master' into cowlicks-da-apply