[gril] Fix compilation issues

Convert serial_no and request id gint instead of guint. Add missing
library dependency to unit tests. Remove initializing of struct
member twice. Move debug message after block's variables are
initialized. Remove unused ril_reply struct. Change also some other
parcel related fields to gint for consistency because the ril uses
signed int internally for parcel. Change cid to gint.
[rilmodem] Fix compilation issues

Replace loop counter with guint because num_apps in sim_status
also uses guint.
[plugins/ril] Fix compilation issues.

Change g_ril_send return to be handled as int. Add used header files
that provide used symbols. Remove unused variables and functions.
Merge pull request #14 from miksa/pull-request

Fix compilation issues when -Werror is used.