Version 1.0.0 of requeue.php job queue demo script.

Clarify script usage message.
Consolidate code into functions.
Apply various code style changes.
Rename requeue script to jq_basic_api_demo.php