Changed all deploy engine's 'name' property to 'type'

Updated unit tests and other places accordingly.

Change-Id: I3e8a986376b2075a97b05cf38cbb919a0e25efc2
Merge "Changed all deploy engine's 'name' property to 'type'"