Update Makefile to newer arduino and fix upload issues

This patch updates the Makefile allowing 'make upload' to work more
reliably by using 'wiring' rather then 'arduino' as a programmer.

Additionally it sets more common arduino files/location for non windows
users.

Windows users tend to use _do_make.bat which overrides these values
anyway.

Fixes Ultimaker/Ultimaker2Marlin#44

Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
Add electroncis_test to Makefile so that the linker is happy again

c1e1060 added the electronics_test function, but did not add it to the
Makefile. This patch fixes up the Makefile so that the linker can link
the firmware again.

Fixes Ultimaker/Ultimaker2Marlin#45

Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
Merge pull request #47 from oliv3r/issues/45

Issues/45
Add feature to save/load material profiles to the SD card for easier customization of material profiles.
Protect against a blocked Z endswitch, which will ram the buildplate into the printer head.
Update the config version number so new PID settings are forced. Load the homing offset from the previous version so people do not have to level again.
Report when the Z endstop is never pressed.
Move the bed a bit up when you cannot find the bottom endstop, as there is most likely something lodged under the bed.
Allow the version number to be defined on the commandline.
Add a beep when editing the LED mode.
Add .ino file as it is now preferred for arduino

The .pde file used previously with the Arduino IDE is slowly being
depreciated. Add the .ino file so that people can start using that.

Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
Add .gitattributes in the hopes of keeping the repository clean

In an ideal world, code always gets committed in a pre-agreed format, be
it \r\n or \n. With bigger projects however, there is less control over
this and so the .gitattributes helps keeping a repository sane.

Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
Normalize line endings

Commit 40e80816 rewrote the repository under the assumption everybody
wanted to use \r\n. Wether this is true or not, the repository is now
inconsistent and is a mix and match of line endings. This patch in
effect reverts 40e80816 and keeps line-endings neutral and sane.

See the github post [0], [1] and [2] for more background.

[0] https://help.github.com/articles/dealing-with-line-endings/
[1] http://adaptivepatchwork.com/2012/03/01/mind-the-end-of-your-line/
[2] http://embeddedgurus.com/stack-overflow/2009/10/whither-white-space/

Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
Fix trailing whitespaces

Marlin suffers from random trailing spaces, this patch fixes those.
There are still some tab vs space issues.

Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
Merge pull request #48 from oliv3r/master

UM2 Marlin cleanup
Merge pull request #1 from Ultimaker/master

Upgrade to present UM level