Merge pull request #5 from juju/expose-calldepth

Add a function that exposes the calldepth so it can be built on.
Fix-up the license and add a few more tests.
Add a comment about the location capture.
Merge pull request #7 from juju/license-fixup

Fix-up the license and add a few more tests.
Add methods to log the error's stack trace.