Fix how CN is stripped in AppRTC.

Use a constraint instead of doing by hand.
A few other cleanups of log messages and adapter.js symlink.