Forgot to stub out console functions in the avm.js shell.
Runtime getCurrentDomain helper.
Clean up getQualifiedClassName and implement getDefinitionByName.
Update caps.
Merge pull request #128 from mbebenita/master

Adds missing APIs.