Error: issue #186: Use 'id' instead of 'type'

- Also replaced 'caller' with 'level', and updated the POD for the two
  changed attributes
- Rearranged the order of the attributes so they roughly match how
  they typically would look when someone created an Error object
45-DBTool.t: test Error object that's returned during testing