Restore headlines plugin

This reverts commit 29d80ce2361651b2533da6b69b49b6e000f8f9e0.

Headlines may not be used internally, but they're still a great feature that some people (including myself and some of my co-workers) find indispensable. I'd love to see the functionality restored if that's all right. Thanks!