Have ajax item add also use dataurls.

- Makes the initial request take a bit longer but reduces the amount of
  requests and associated header data.
Subclass barcode.Code128 to make sure codes are always standard size.
Make barcode size assert trigger only in debug mode.

- It's not a fatal error as the barcode might still work and isn't incorrect.
  The text string will work in any case.