Remove binary version suffix from subproject's name whenever needed.

Often in pom files artifact ids are appended with binary version, since
maven does not natively support scala style of publishing artifact with binary suffix.
This patch takes care of applying scrub whenever needed.
Check for scope if test assign test scope to interdependent projects.