[rilmodem] enabling pin state query and follow up JB#6947

Enables basic functionality for PIN state monitoring in Rilmodem.
Enables implementing the PIN locking and unlocking.

Signed-off-by: jussi.kangas@tieto.com