Backported https://github.com/cometd/cometd/pull/13.
Fixes COMETD-408 (Allow more detailed and consistent (JS vs Java) error handling).
Fixes COMETD-412 (Lazy channels inconsistencies).

Also updated dependencies versions.
Refactored send of the queue when sending it as part of a /meta/connect response.
Moved ServerChannelListener to ConfigurableServerChannel to avoid that superclass depends on subclass.
Defaulting maxServerInterval to -1, that is to never sweep if the /meta/connect is being processed on server.
Using org.junit.Assert instead of junit.framework.Assert.
Refactored tests to allow better option customization.
Fixes COMETD-414 (Possible race condition in sweeping).

Now the reconnect:"none" advice is only sent if the session
has been explicitly disconnected, rather than swept.
Updated Jetty to 7.6.10.
Merge pull request #14 from mrossi975/branch1

Downgrading to maven-jar-plugin 2.3.2 as 2.4 breaks eclipse integration (see https://github.com/sonatype/m2eclipse-extras/issues/10).
Reverted plugins to non-buggy versions.
COMETD-418 (Race condition between connect and disconnect causes permanent reconnect:none advice).

Fixed by removing the BayeuxServerImpl._handshakeAdvice field.
Improved JMX MBeans.
Improvements to the JMX tests.
Fixes COMETD-416 (Allow cleanup of idle sessions).

Introduced ActivityExtension to monitor the activity of sessions and disconnect them after a period of inactivity.
Fixes COMETD-402 (Seti associations count).
Using System.err instead of System.out.
Fixes COMETD-390(PresenceListener don't fire on local oort nodes).
More improvements to the JMX tests.