Moved listItemLeaveAnimation from tasks to base.
List item animation and other fixes:
 * defer list item leave animation with promise until editor is closed
 * set correct max-height to .list-item-leave-add
 * added list directive to control list item' animation state
 * refactored list item directive and template
 * removed to-be-deprecated replace attribute from list item directive