add .gitignore files
fix isArray check in createObject() so it returns true for Arrays that were created in different frames