add LED control function

Command-line to turn LEDs on the board on or off.

Also, modified .gitignore to be emacs-friendly.