Switch markdown library to composer.
Move Smarty to composer vendor.
Merge branch '1.3'