Remove debug from browseremulator
Remove some old fashioned php from browser emulator
Remove debug from search tests
Reformat browseremulator