preexec.bash: Trim leading / trailing whitespaces from the command

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Add a preexec script to directly execute batch files

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>