Add unit test for ApplicationDomain
Add unit test for flash.system.Capabilities
Merge pull request #346 from artcompiler/tests

More unit tests