updated .gitignore, new as3 test cases, build system fixes