medium: parse: Support resource-discovery in location constraints

See ClusterLabs/pacemaker#589
medium: pacemaker: Support pacemaker-next as schema