Updated git ignore list to include output dirs

Added /Debug and /Release directories to prevent interpretation as
changes to the project files.
Replaced serial.c with version from Frans-Willem