Bug fix: do proper sorting of applications based on their load.
Protect access to an application's current transaction count.



git-svn-id: http://yate.null.ro/svn/yate/trunk@5414 acf43c95-373e-0410-b603-e72c3f656dc1