Bug 860682 - B2G Emulator: Fail to change PIN in emulator

Please see [bug 860682](https://bugzilla.mozilla.org/show_bug.cgi?id=860682)

There are two fixed in this pull request.
Part 1: 
** The check of RIL_REQUEST_*_SIM_PIN seems wrong.
** There is an additional parameter, AID, in RIL version 6.

Part 2:
** Implement AT+CPINR to get remaining PIN retries.
** Please see TS 127.007 session 8.65.

Thanks