Do not package REST api two times

When a path is present in both rest package and core it does chocapics
The logic here is to let core package include common REST classes and
to limit core-rest package to www endpoint

Change-Id: Ie13018d78f3267005b0b4a64157e7bb859139e1c
Fix dependencies

Change-Id: Ic934f0fbfc638e1734206db1b3a6937bf844f8d2
Tuleap 6.6.99.10

Change-Id: I5f1c31a0faf2e8403c03b1d6505a6e4f2e391c68