Improve Arduino API conformance: Add various constants (e.g., LSBFIRST) and bit macros