active_queues now happens through subprocess.
Adding docblocks and move active_queues behavior to a function.
Fix and add tests, also add copyright.
Merge pull request #911 from pulp/bmbouter-active-queues-subprocess-fix

active_queues now happens through subprocess.