Remove Arduino dependencies from HAL except for Serial IO. (Serial IO requires replacing IRQ Handler that is automatically included from Arduino libraries).  Changes taken from nonArduino branch.