code refactoring for module tasks/resolve_branches.js
use _.pluck method for map tag names
Fix issues with tags and branches filtration