Fix shifts and import/export efficiency

Noticed that import/export is short circuited if the size of the encoded bytes is aligned to mp_bits_per_limb. Also shifts weren't working right for larger shifts like a>>20.