Implements complex query functionality for alarms

New API resource /query/alarms has been added

Implements: blueprint complex-filter-expressions-in-api-queries
Change-Id: I3289f187c70a74d19381c24a20d324c2d14a19fb
Merge "Implements complex query functionality for alarms"