refactor initialization

this decreases the chance of deadlocks on startup
it should also decrease the startup time.
[#56592122]
[#56615394]
applet calls javascript when it is ready

This fixes an issue with FireFox on OS X and some versions of
Java 7. It is also a more efficient way checking if the applet
is ready. And finally it might also reduce the blocking of the
JS thread because it won't be trying to call into Java so much.

[#56872730]
use the signed jar instead bare class

this removes the warning about running unsigned code

[#56994066]
Don't reference applet too early

see: http://concord-consortium.github.io/applet-tests/timing/
also this changes to the call to remove to dig into an
issue with IE reloading the applet when it is removed

[#56872730][#56994202]
use IE safe applet removal approach

http://concord-consortium.github.io/applet-tests/removal-of-tag/
[#56994202]
fix formatting
First pass at handling IE multi threading behavior

[#57114958]