hdstream_to: fix

download:
changed default download mode to direct download with timer
add --stream option to download mdeia stream if possible (no timer here)

upload:
replace spaces with dashes in link filename
add --short option to generate short link
hdstream_to (upload): clear final link
mirrorcreator (upload): clarify --full-link module option
hdstream_to: add premium account download support

add token parse for another short link style
add full-link option, short link is default now
fix short link style on upload
core.sh (random): drop subshells

Use bash 3.1 features:
- printf -v
- string concatenation (+=)
plowprobe: typo fix (prinft => printf)
core.sh (process_options): check for duplicated options

Add some more log_notice messages.
Use an associative array for RES (instead of a regular array).

Examples:
$ plowprobe http://rghost.net/43909213 --printf '%f%n' --printf '%u%n'
plowprobe: duplicated option --printf, taking last one
$ plowdown -x -x http://rghost.net/43909213
plowdown: useless duplicated option -x, ignoring
core.sh (process_options): add 't' type for argument parsing

t: non empty string (like s type). This option may be given more than once, the switch are cumulative.

For example (let's add this to plowfoo!):

declare -r MAIN_OPTIONS="
USERS,u,user,t=USERNAME,Name of something...
"

// Get user list
if [ "${#MTEST[@]}" -gt 0 ]; then
  for E in "${MTEST[@]}"; do
    log_error "User: $E"
  done
else
  log_error "No user specified!"
fi

// $ plowfoo --user 'alice' --user='bob' -u'carol' -u 'dave'
// Note: single quotes of arguments (usernames) could be omitted here.
docs: fix proper vim modeline
scripts/version: cosmetics
sockshare (download): fix file name parsing
sockshare (download): remove pipes to avoid error 141 (SIGPIPE)

Also some minor cosmetics.
sockshare (download): recognize '.../embed/...' links as well
sockshare (probe): recognize '.../embed/...' links
uploaded_net (upload): fix, upload directly into specific folder

Fixes issue 1108