Solve #4.

Solve problems discovered by @williamdemeo.

- Add tikz-cd.sty for Ubuntu 12.04.
- Make \ac robust.
- Make other commands robust.