Fix issue described in TIMOB-12736

transport.py currently only builds in development mode. This disables analytics and causes error reporting issues.

This PR adds a parameter to the script that allows the user to set the build mode. By default this build mode is set to production. This mimics behavior of transport.py prior to the 3.0.0GA release.