<tests> Add cucumber test for ident mapping in upgrade

Adds tests to platform_upgrade.feature and associated step definitions
to test new ident mapping
escaped string interpolations in embedded gear upgrade extension script
added pre/post upgrade and touch_marker methods to embedded gear upgrade extension script
added code to upgrade_steps.rb to handle Versions: field
added code to upgrade_steps.rb to handle Versions: field