Fixed work package query specs.
Remove unnecessary require from drop down directive
Fix karma (directive controller requirement)
Avoid unnecessary digest cycles in drop down directive

[ci skip]