Dynamic loading of ril-type modems

This PR adds a plugin called rildev that fulfils for ril-type devices the same functionality as udevng for USB-based devices.

A plugin for mtk ril modems is also added, although for the moment it is identical to the ril plugins and can be used just for testing rildev.

Additionally, a bug fix for closing properly the gril socket is also included in this PR.