make application a little more tolerant so it can be used in flexunit tests
add our very first flexunit tests for flexjsjx and flexjsui.  More tests needed