Improve clicking and synchronization in Studio bok-choy tests

@cahrens @minhtuev @benpatterson 
The animation when you click on the Advanced button for one, probably others too.

I tried to put this up higher in the stack (e.g. on the WebAppTest subclass just after the browser pops up) but couldn't because it needs to come after jQuery is initialized.

This was the best, most generic place I could find. Agreed that it is not optimal as it will execute that script multiple times. :(  If you can find a better place I'm definitely open to suggestions.