Finish Unit and UnitEmitter cleanup

Summary: - Clean up includes for unit{,-emitter}.{h,cpp}.
- Document and clean up UnitEmitter.
- Organize unit{,-emitter}.cpp.

Reviewed By: @jdelong

Differential Revision: D1445825