Fixed a bug which prevented the addLayer() method from inheriting properties

- Also introduced a new method, $.jCanvas.getTouchEventName, which maps
mouse event names to touch event names (only if the device supports
touch events)