Ported r2814 from ZXing

Original commit message: "Issue 1693 Aztec encoder improvements"
Replace all remaining chars with unichars

Also changes several functions to accept const arrays (removing the need
for casting)
Ported r2815 from ZXing

Original commit message: "Support mirrored QR codes"