Webapp copy and delete api conflict issue fix

This will provide the fix to https://wso2.org/jira/browse/APPM-195 .