fix session creation

* remove buggy call to con.createSession(transacted, ack) in setup()
  that was overriding the session created depending on the connection
  factory type.
* fix if blocks to have a default else block for the AGNOSTIC type
Merge pull request #4 from jmesnil/JmsManagedConnection_setup

fix session creation