big change to pushapi. Check for revisions before undeploying. Also -x option to remove all and not deploy new. Added JSON parsing in bash.