Fix the script for phpmyadmin 3.5.1 and 3.4.10.1

Hi.
# Script now consistenly in bash-style (was broken on my system using /bin/sh)
# Adapted post_params to comply with current phpmyadmin installations
# Added functionality: all compression offered by phpmyadmin, curl option passing
Added debugging feature to show the full curl command on DEBUG=1

I know, it is a big pull-request, sorry.