Update JMS API to 2.0 first pass
change done by Jeff Mesnil, Andy Taylor, Francisco Borges and Clebert Suconic
Merge pull request #1154 from clebertsuconic/jms2

Update JMS API to 2.0 first pass