[rilmodem][WIP] Fixing SIM application type recognizing in phonebook

Fixed merging bug with canonical version. Rilutil did not store the
SIM application type which lead to contacts importing failure.

Signed-off-by: Jussi Kangas <jussi.kangas@oss.tieto.com>
Merge pull request #41 from jkangas/master

Request for pulling the application type checking fix for phonebook to main branch