Break long lines and remove some spaces in QueryPage.php

Change-Id: Ia4840580ada4b42bb70d38965f7955d175db9247