Changes:
 Code Maintenance: The number of attempts for script execution
 during Virtual Application Deployment,
 defined by the attribute "MAIN_ATTEMPTS" is now different than
 the number of attempts for VM status update (through cloud polling),
 defined by the attribute "MAIN_UPDATE_ATTEMPTS". The former is
 supposed to be small (default is 3), while the latter must be very
 large (default is 36, but the recommended for OpenStack is 720).

 Bugfix: When application-specific "setup" configuration scripts fail
 during VApp deployment, VMs should be removed after the number of
 execution attempts is reached, instead of attempting to execute it
 indefinitely (quite obviously :-).

 Bugfix: In Red Hat nodes, the command "netstat -tulpn", used by
 get_port_from_pid method, printed the port list in reverse order
 (higher to lower). This is fixed now, and users should not be seeing
 any "connection closed" errors while trying to connect to MongoDB
 in RHEL.