Add smarty to extensions for attr_list test

To make it easier to notice (and fix) the failure.
Make it easier to override list of inline patterns for InlineProcessor
Make smarty extension use its own InlineProcessor
Merge pull request #311 from mitya57/master

Make smarty extension work together with attr_list