Adapted library and tests for new 2KB payload size

At WWDC 2014, Apple announced an increase of the payload limit from 256 bytes to 2 kilobytes. This new limit is now in effect on production APNS servers, and thus the library should use the new limit.