set lpc2k_pgm return value

fixes the build not failing when flashing fails
remove cruft from obj dir, add gitignore
add obj/*.d to clean target