WIP: "Wrap the certmodel in a context"
Closes #11 (closed)
Breaks some exception handling that will be fixed with !4. This can be reviewed since it's working, but !4 needs to be fixed before merging this. I will merge !11 (merged) into !4 and finish it.