Merge pull request #4 from vishnupillai/master

Support for TLV subfields
unused MBeanRegistrationException removed
jPOS-79 add support for configuration providers
fix divide by zero issue in deadlock test
be more tolerant on slow machines
jPOS-79 added support for configuration providers

Defaults to SimpleConfigurationFactory
Fix double check locking idiom for DefaultTimer lazy init
minor efficiency chage - Using .isEmpty() instead of .size() = 0 where possible.
minor efficiency chage - Creating new Boolean is inefficient and typically pointless.
minor code change - Use of java.lang.String constructor is usually useless
minor code change - change from obsolete Hashtable collection to HashMap with synchronization where applicable
rework unit test for NameRegistrar
Fixes for unit tests following introduction of HashMap which allows null keys
Fixes for unit tests following introduction of HashMap which allows null keys
Change to use StringBuilder instead of StringBuffer, and change string concatenation to appends where appropriate
change to StringBuilder from StringBuffer, and append instead of + (concatenate) strings where appropriate.
add @Override annotation, change to StringBuilder from StringBuffer and append instead of concatenate
change indexOf operation to containsString

Signed-off-by: Christopher Barham <cbarham@pobox.com>
change /n in String format to use system independent newline of %n. Rewrote the unit tests around it, which involved extracting some methods to make the class testable

Signed-off-by: Christopher Barham <cbarham@pobox.com>
Change to use ConcurrentHashMap, with unit test that exposes Thread safety issues (tested with explicit lock, hashtable and hashmap) this implementation is faster

Signed-off-by: Christopher Barham <cbarham@pobox.com>