Refactor numbering

Split the `ccap-numbering` into a slots file and a skeleton file.

- [x] move link labels (ie "See Figure 4.3") into slots file
- [x] move ToC counters
- [x] move end-of-book numbering for solutions
- [ ] move code that suppresses labels (ie Exercise inside an Example)