Gril rilmodem refactor

This is a general cleanup of rilmodem which is a follow-up to the re-factoring work recently finished.

Tested basic functions ( voice, SMS, gprs ) on mako running system image r32.