Fixed JavaScript example.
Using "function" instead of "method" for JavaScript APIs.
COMETD-538 - Document ws.cometdURLMapping changes.
COMETD-541 - Document new parameter "broadcastToPublisher".
COMETD-542 - Document and improve Javadocs for COMETD-537.

Added documentation about template channels.
Updated version to 3.0.1.