Backport bug fixes

* [[gerrit:174890]] PHP 5.3 doesn't allow $this inside anonymous functions
* [[gerrit:174897]] Handle radio-range oddity when $min < 0
* [[gerrit:174898]] Fix translate log saving

Change-Id: I1e54a7e4188b002013a30cc7f9a7db1a64779e20