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
Merge pull request #592 from LudwigOrtmann/lpc2k_pgm

Lpc2k pgm