Added "expand references" option to dump command

- If specified, the full path to each referrer is listed beneath each
  reference node instead of the normal "print_r" value.
- Really good for debugging...
Revert "Added support for only removing children"

This reverts commit 7c8be1c26a1c7bf6acb5e90b9f5f924395555353.
Revert "Revert "Added support for only removing children""

This reverts commit 98208470a9f69a3dc717a904ae8ce9b686def2bd.
Refactored for --ref-format

- Also list UUIDs in same way as we list paths
Performance fix
Cast values to array
Merge pull request #50 from dantleech/expand_references

Expand references in phpcr:dump