Better title handling for WordPress 4.1+ with proper back compat.

See #636.

Kind of rough and dirty at the moment; mostly want to get it out there as a possible approach for proper back compatibility. Thoughts?