XD-351: Add aggregate count day resolution.
XD-913 Excluding org.fusesource.fuse-extra from xd-dirt build

Ading testCompile dependency on scala-library
Applied copy logic to the mail source module

Note that the mail modules does NOT work in this setup. Purpose of this
commit is to review build logic.
Apply new build to all mail related modules
Slightly better eclipse experience
Use flattened project names.

Prevent detection of intermediate folders as projects.
Prevent project collision of the same name (e.g. mail as both
source and sink)
Fix Module ParentLastClassloader:

Find spring related properties files in the 'correct' order
Fix CompositeModuleRegistryTests
Fix build.gradle in sync w/ settings.gradle
Add commons-io to shell testCompile
Apply to file modules
Restore MailCommand tests
Apply to http source
Apply to syslog*
Semi-Apply on reactor-syslog

Can't go thru with it, but prepared work
Downgraded scope to runtime for reactor stuff
Add Intellij support
Revert "Restore MailCommand tests"

This reverts commit e288bea0ef6c80e6372d5cb67ded71aa2aa0aee4.
Fix build on my box