add min supported version check when add or modify app manager
added ut for ambari/cloudera side