KAFKA-1046 Added support for Scala 2.10 builds while maintaining compatibility with 2.8.x; reviewed by Neha and Jun
merge from 0.8 c12d2ea9e5b4bdcf9aeb07c89c69553a9f270c82 to trunk