Bug corrected in RequestRawStream::wait_for_jobs, if not job_id passed fails to return results
Added 'tty_mode' to 'container#attach' to notify RequestRawStream that tty is activated in container
Cleaning and refactoring RequestRawStream, to detect tty_mode and not hangs forever in this case'
Added timeout parameter to terminal, to allow set attach timeout
Merge branch 'hotfix_terminal_hangs' into split_package_in_3