modules.cpp: Add license

Change-Id: Id41189ba5b125786414d81efa364a9caec86f309
Hack to avoid problems while loading modules with different versions if gnutls

Hack is explained on a source comment more clearly

Change-Id: Ia02c6e144520be3dc5b447ff54c3bf963c179944