add testemu.py to gitignore
core: minor emulate cleanup
core: catch invalid emulate parameter
core: change emulate param (android->and)