Issue refs #1378: move agreements to separate directive, improve validation
remove unused dependencies
Bug refs #1391: fixed
Bug refs #1391: changed inline editors markup, validation added to task view