Merge pull request #962 from whitelite/dev

Optimisation improvements to binaries.php
Do not re-select the group (saves a bit of time).
Initial optimisation of releases.php