CB-5765 Identify root project folder using www and config.xml instead of .cordova

It's now possible that .cordova will not exist.
CB-5764 Move hooks/ to top-level instead of under .cordova

This also changes to not pre-create hooks/ subdirectories since git
doesn't add empty directories anyways. Instead, it adds a README.md to
hooks.
Forgot to remove hard-coded debug path in previous commit.