Merge pull request #1 from dumganhar/master

Some fixes, please refer to commit message.
Merge pull request #2 from dumganhar/master

Adds support for `Unreal Engine 4` and `libgdx`
fix command line encoding bug
Adds support for detecting egret.