fix for ruby less than 1.9.3
accept multiple glob patterns
rename some symbols
minor fix
add scp_channels to SessionWrapper
add error handler
abort the job when a fatal error occurs