Add helper script for defining pacemaker resources

Pacemaker resources look similar for most of the services,
this script makes adding new resources easier.

Change-Id: I193a67f49e82fdb972aad8c8a9a51fe17c6c978c
Merge "Add helper script for defining pacemaker resources"