libreswan-ify the CBC and CTR tests; integrate into pluto.

- use the logging mechanism
- only call when the corresponding algorithm is being added
- for now leave old hooks #if 0'd out.