Move some third party plugins from 'applications' to 'core'.

org.apache.common.collection, com.google.common, org.slf4j, org.apache.log4j, javax.mail