Fix an issue preventing thread chapters from working on pinned first posts.
Harden template modifications and compatibility tweaks for XF 2.2.
Add an editor icon to the chapter BB code. Bump minimum XF version requirement to 2.1.5.