Fix bug in java messaging integration test. Improve Java CloudI API buffer usage. Fix bug due to external service logging change (on 2014-10-20).