SMAPIv1: support backtrace reporting via XenAPI-style errors

This is an implementation of http://xapi-project.github.io/features/backtraces.html

This must be merged after: https://github.com/xapi-project/backtrace/pull/4