teiiddes-2158: Refactored REST procedure validation and added check to the auto-generation REST WAR checkbox on the VDB editor. Will prompt user to add REST procedure if they select the checkbox without a valid REST procedure included in the VDB and set the checkbox to false.

Also changed the checkbox label from Generate REST WAR to Auto-generate REST WAR.
Merge pull request #355 from tejones/teiiddes-2158

teiiddes-2158
salesforce.lib project requires initialising ant-contrib

* Use of removeWhitespace function requires initialising ant-contrib lib
  in classpath