Homework from 7/10 David lecture.

* Clean unused items from TER.
* Tiny shared_ptr optimization for LES accessor.
Some do - they're usually documented. We need to decide whether these codes constitute part of our public API or not; if they are, they ought not be removed.