Fix for AS7-6580

The commit here fixes the issue reported in https://issues.jboss.org/browse/AS7-6580 and also fixes an incorrect testcase. 

Henceforth, only the "local dependencies" (i.e. dependencies added as a result of Class-Path manifest attribute) of a RAR deployment will be auto exported as transitive dependencies to any module (typically modules of other deployments) which has the RAR as a dependency.