TIMOB-12487: Check for activityStackSize when terminating the activity stack since calling finish() can potentially change the size of the activity stack.
[TIMOB-12514] Renamed all buildType vars to deployType so that the node-appc timodule library receives the correct value.
TIMOB-12487: Remove unncessary stack size check for 0
Merge pull request #3831 from cb1kenobi/timob-12514

[TIMOB-12514] Renamed all buildType vars to deployType so that the node-...
Merge pull request #3827 from ayeung/timob-12487

TIMOB-12487: Check for activityStackSize when terminating the activity s...