Handle a case where .war has manifest with main-class

A war application with META-INF/MANIFEST.MF with Main-Class attribute will cause both the JavaMain and Liberty containers to claim the application (which causes deployment errors). Such application needs to be only claimed by the JavaMain container.