loop up to twice the original wait time to prevent spurious test failure

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1596289 13f79535-47bb-0310-9956-ffa450edef68
Filter and Filerable can be LifeCycles and play more cleanly with start() and stop() methods. AbstractFilterable and CompositeFilter can now simply call start/stop on filters without type testing and type casting.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1596294 13f79535-47bb-0310-9956-ffa450edef68
Use more precise state management for CompositeFilter.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1596297 13f79535-47bb-0310-9956-ffa450edef68
Remove weird ivar.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1596302 13f79535-47bb-0310-9956-ffa450edef68
Collections.emptyIterator() method does not exist in Java6 (added in Java7)

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1596303 13f79535-47bb-0310-9956-ffa450edef68
organized imports

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1596307 13f79535-47bb-0310-9956-ffa450edef68