A couple of changes
- add scope to exceptions (to replace the activity id) so they can be properly tied in with activties etc.
- add a priority to exceptions so that warnings or performance hints can be sorted by how significant they are.
May also want a new severity to cover problems with performance, but I suspect warning and information are sufficient.