add ARM decoder/encoder internal and external tests
Split from #1551 (closed) which we are considering complete. We have not yet ported the internal consistency tests (e.g., api.ir) nor the external checks vs other decoders (e.g., api.dis). This issue will also serve as a container case for small bug fixes found in the course of adding these tests.