s4-common: move ril class and flag to devices.

Change-Id: I163ade0e05b3c3cb34f355978bfd041df3f5c61f
Merge "s4-common: move ril class and flag to devices." into cm-10.1