Modify the logic of compiling for iOS & Mac.

1. Add argument "-t" in "cocos compile" to specify the target name for compiling iOS/Mac project.
2. Support sign the app with debug mode
3. When the sign id is specified, compile the project for device.