added 'Z' format string for pack/unpack

Since PHP 5.5 there is a 'Z' format string for (un)pack with equivalent
functionality to 'a'.