RIPPLE-69: Adding cordova-3.6.x support

Additional notes can be found here - https://issues.apache.org/jira/browse/RIPPLE-69
I think it is better to define init if it is not defined only

<code>
module.exports.init = module.exports.init  ||  function() ...
</code>