kafka-1797; add the serializer/deserializer api to the new java client; patched by Jun Rao; reviewed by Neha Narkhede
Added SSL for Kafka

Minor fixes, cleanup

Refactoring

Fixed tests compilation error.
Updated according to requested changes: refactoring, minor edits.
Added basic functionality for new producer.
bug fixes after rebase
bug fix after rebase
updated tests after rebase
changed default security to false
Got compile success with no errors after rebase, should check compile warnings
Changes to make broker backward compactibile with current producer and consumer
Update SSLSocketchannel logging to debug level reduce noise
Make jks as default keystore type
Add timeout param to SSLSocketChannel connect to include fixes in bug https://issues.apache.org/jira/browse/KAFKA-1733

Included changes made by this commit https://github.com/apache/kafka/commit/91f8ce7eff5c62c619454ad9d67415878805f600 to fix the bug https://issues.apache.org/jira/browse/KAFKA-1733
Get consumer offset checker to work with security
Got simple consumer shell to work
Fix compilation issue rebase with latest commit of 0.8.2
Fix bug to close simple consumer and secure options to consumer offset checker