Parameterize event queue management
Use options for policy parameters
Merge pull request #3 from tristanls/queue-management-policy
Added documentation for 'dequeue' and 'enqueue'.