improving Arduino build a bit

Didn't actually end up doing a submodule, just a bit of automation and improving the .gitignore.