Bump MODULE_VERSION to 5.2.2

Change-Id: I7d5d4708679d8fa8006428057b5acda87c1ede99
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Fix compiler warning in example.

Change-Id: Ie57d6e5c8811a7845c55a069150de2fe0f796599
Reviewed-by: Alan Alpert <aalpert@blackberry.com>