4.1

This is the pull request for v4.1.

- [x] #153 Definition dumper (needed for #143)
- [x] #143 Better exception messages
- [ ] #149 Container compiler?
- …