UC-2637 -code review, improve unit tests
Merge branch 'release-14.04' of github.com:SIPfoundry/sipxecs into release-14.04