Introduce convert_attributes_to global option.

This adds in the ability to convert attributes on tags in some way, by
passing either a lambda or block.  It requires the current master
branch of Nori, not 2.3.0.