Version 3.17 4.0.1 compatibility check and minor bug fixes

git-svn-id: https://plugins.svn.wordpress.org/canalplan-ac/trunk@1031194 b8457f37-d9ea-0310-8a92-e5e31aec5664