OPENJPA-2517: Option to allow the javax.persistence.query.timeout property to apply to EntityManager operations. Ported 2.2.x changes to trunk.