Fix cca check in hooks

Previously it was looking for "bin/cca" which is not there if running
src/cca.js directly or using the ./cca link from within the project dir.
Changed it to only look for "cca" substring in the command line.
Remove the old pre/post prepare hooks in upgrade-project