Removing unused variables and useless imports.
Removing unused fields from tests
Fixing style (missing brackets, weird one-liners...)
more missing braces
Fixes #235
Returns every node from every domain in /firehose. Refers to #234.
firehose: fixing pagination with rsm
Addressing @lloydwatkin 's comments on
https://github.com/buddycloud/buddycloud-server-java/pull/236
Fixing ISO 8601 regex for timestamps with TZ != 0
Removing unnecessary syso
external-domain-checker returning a csv list of local domains
Making it work with Postgres' regex
removing unnecessary commented lines
replacing ~ with regexp_matches in the DatabaseTester level
creates getLocalNodes and getRemoteNodes methods in the node store
Merge remote-tracking branch 'origin/master' into multi-domain-fixes

Conflicts:
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/get/items/special/FirehoseGet.java
Considering 'local' access model when retrieving /firehose. Various
enhancements as suggested by @lloydwatkin.
Moving checks for local domains, jids and nodes to the Configuration
class.
Merge remote-tracking branch 'origin/master' into multi-domain-fixes

Conflicts:
	src/main/java/org/buddycloud/channelserver/ChannelsEngine.java
	src/main/java/org/buddycloud/channelserver/Configuration.java
	src/main/java/org/buddycloud/channelserver/channel/ChannelManager.java
	src/main/java/org/buddycloud/channelserver/channel/ChannelManagerFactoryImpl.java
	src/main/java/org/buddycloud/channelserver/channel/ChannelManagerImpl.java
	src/main/java/org/buddycloud/channelserver/channel/LocalDomainChecker.java
	src/main/java/org/buddycloud/channelserver/db/NodeStore.java
	src/main/java/org/buddycloud/channelserver/db/jdbc/JDBCNodeStore.java
	src/main/java/org/buddycloud/channelserver/db/jdbc/dialect/Sql92NodeStoreDialect.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/discoinfo/DiscoInfoGet.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/discoitems/DiscoItemsGet.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/mam/MessageArchiveManagement.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/get/AffiliationsGet.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/get/NodeConfigureGet.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/get/NodeThreadsGet.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/get/RecentItemsGet.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/get/RepliesGet.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/get/SubscriptionsGet.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/get/ThreadGet.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/get/UserItemsGet.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/get/items/NodeItemsGet.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/get/items/SpecialItemsGet.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/get/items/special/FirehoseGet.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/result/ItemsResult.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/result/SubscriptionsResult.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/set/AffiliationEvent.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/set/ItemDelete.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/set/NodeConfigure.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/set/NodeCreate.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/set/NodeDelete.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/set/SubscribeSet.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/set/SubscriptionEvent.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/set/UnsubscribeSet.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/register/RegisterSet.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/register/UnregisterSet.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/search/Search.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/search/SearchGet.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/search/SearchSet.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/message/event/AbstractMessageProcessor.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/message/event/AffiliationProcessor.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/message/event/ConfigurationProcessor.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/message/event/DeleteProcessor.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/message/event/ItemsProcessor.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/message/event/RetractItemProcessor.java
	src/main/java/org/buddycloud/channelserver/packetprocessor/message/event/SubscriptionProcessor.java
	src/test/java/org/buddycloud/channelserver/channel/ChannelManagerImplTest.java
	src/test/java/org/buddycloud/channelserver/channel/TestHelper.java
	src/test/java/org/buddycloud/channelserver/channel/validate/AtomEntryTest.java
	src/test/java/org/buddycloud/channelserver/db/jdbc/DatabaseTester.java
	src/test/java/org/buddycloud/channelserver/db/jdbc/JDBCNodeStoreAbstract.java
	src/test/java/org/buddycloud/channelserver/db/jdbc/JDBCNodeStoreTest.java
	src/test/java/org/buddycloud/channelserver/packetHandler/iq/TestHandler.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/discoitems/DiscoItemsGetTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/mam/MessageArchiveManagementTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/get/NodeConfigureGetTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/get/NodeThreadsGetTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/get/SubscriptionsGetTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/get/items/NodeItemsGetTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/get/items/UserSingleItemGetTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/get/items/special/FirehoseGetTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/result/ItemsResultTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/set/AffiliationEventTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/set/ItemDeleteTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/set/NodeConfigureTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/set/NodeCreateTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/set/NodeDeleteTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/set/PublishTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/set/SubscribeSetTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/set/SubscriptionEventTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/set/UnsubscribeSetTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/register/RegisterSetTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/register/UnregisterSetTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/search/SearchGetTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/search/SearchSetTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/message/event/AffiliationProcessorTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/message/event/ConfigurationProcessorTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/message/event/DeleteProcessorTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/message/event/ItemsProcessorTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/message/event/NotificationSendingMockTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/message/event/RetractItemProcessorTest.java
	src/test/java/org/buddycloud/channelserver/packetprocessor/message/event/SubscriptionProcessorTest.java
fixing checkstyle violations