Merge pull request #46 from vsalaman/oneshot

Adds OneShotChannelAdaptorMK2
Refactors and implements connection tracker.
Avoid issue with Java8's Javadoc being too strict

See
http://stackoverflow.com/questions/15886209/maven-is-not-working-in-java-8-when-javadoc-tags-are-incomplete
issue with lowercase uninterpret

Bug and patch provided by Bharavi - THANK YOU!
removed wrong tests

There were tests that tested for a wrong behavior of uninterpret.
Use foreach, SpceUtil.wipe and generics

Signed-off-by: Robert Demski <drdemsey@gmail.com>
Convert Thread[] to List<Thread>

Signed-off-by: Robert Demski <drdemsey@gmail.com>
Miscellaneous fixes.

- Changed threadpool to use a SynchronousQueue.
- SpaceUtil.wipe now used to flush space queues.
Merge pull request #48 from vsalaman/oneshot

Enhancements to OneShotChannelAdaptorMK2
added pmd reports
temporarily remove cp of pmd report file
copy pmd files to gh-pages
Fix DCL warning
Merge pull request #49 from vishnupillai/master

Fix DCL warning
pmd directory already exists, use -p
PMD: reviewed assorted empty catch blocks
PMD: combined if statement
jPOS CMF DE 022 (Entry mode) helper class

See http://jpos.org/doc/jPOS-CMF.pdf
Replace TransactionManager thread management with thread pool

Thread management is moved to ThreadPoolExecutor with custom
TMThreadFactory which is responsible for thread "session id"
assigment, start and elapsed time measurement.
On input space registered is listener so there is no thread
contention. It is moved to BlockingQueue and it is probably
better implemented.
Supported are 2 queuing methods:
 * Direct handoffs - with SynchronousQueue
 * Unbounded queues - with LinkedBlockingQueue
For more info see
http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ThreadPoolExecutor.html

Configuration:

If sessions equals to max-sessions then 'Direct handoffs' method is
chosen else 'Unbounded queues' where core pool size is set with
max-sessions.

Signed-off-by: Robert Demski <drdemsey@gmail.com>