Make cordova-lib require still work if cordova-lib is installed globally
Make handling of CordovaError work in more cases (wasn't working for create command)
Teach cca that org.chromium.system.network is a dep of socket (fixes #381)