Clean Up Arduino Debian Build Scripts

Clean up the scripts and remove unused code.
Fix some syntax errors.