[Helpers] Add a new helper class: GLibMainLoop.
[testHapProcessStandard] Add a test that reprodueces the deadlock when fetchItem is invoked.

The current code may causes a deadlock when an ArmPlugin receives
reqFetchItems() while acquireData() is executing.