[CORE-1792] Started work on migrations
Merge branch 'CORE-1673' into CORE-1792
Geof|Sitati Initial database migration without alias update handling
added debug lines to migration script
added more alias->keyword migrations
corrected keywords_idx migration in keyword table for poll
updated substitution expressions with 'contact_x' to 'recipient_x'
ClickatelFconnection migrations
test for 2.2.0 migration
Merge branch 'core-2.x' into CORE-1792
Updated remote control plugin; added skeleton of migration tests (now compiles).
FIXED CORE-1803 - Generated message for polls has extraneous whitespace when there is no top-level keyword
Modified migration spec so it now runs against an existing application instance.
Updated migration tester to check if git working dir is clean.
Fixed git working directory check.
CLarified git cleanliness check
Made execution of commandline stuff intuitive.
Fixed checkout of tagged version.
Added new debug; added new sed for inserting remote-control plugin.
Fixed syntax of sed in MigrationSpec