Pacemaker support

Initial HA support. Based on aspiers' barclamp keystone.