Correspond to change of pacemaker-1.1.

This is correction for corresponding to following commit.
https://github.com/ClusterLabs/pacemaker/commit/6130d23fc4
https://github.com/ClusterLabs/pacemaker/commit/5a63df52ee
add .gitignore, remove unnecessary code and files