KAZOO-2242: FIxed an issue with directories

Conflicts:
	whapps/voip/directory/directory.js
	whapps/voip/directory/tmpl/edit.html
KAZOO-2242: Quick fix for sort of lists in directories on v3.08