change util method signature for better consitency with others
refactored code for greater simplicity
#50 added the notion of transactional-scoped channels so they can be safely closed
Merge branch 'master' into mule-3.3.x