Fix for 'bad encrypted message' errors.

1) There was a regression in the outgoing multipart transport
   logic, such that the same 'identifier' byte would be used
   for all messages (0).  This now works correctly.

2) Added some additional heuristics on the receiving side.
   Now mutlipart containers are only valid for 1hr, and are
   considered invalid if the container size is different from
   the multipart message size.
Fix for batch selection bug
Updated language translations
Added romanian language support
bumping version to 0.9.9.8
Fix for ShortBufferException problem introduced in Android 4.3

Not really sure how it's possible for the system to give us an
extra block of data, but it does if both the input and output
buffers are sized the same during the first decrypt.  This
fixes things, but I wish I better understood why it was broken.
Bumping version to 0.9.9.9
Merge branch 'master' into push-library
Generate "prekeys" at push registration time.

This generates a large number of key exchange messages and
registers them with the server during signup.
Move common crypto classes into TextSecureLibrary.

1) Move all the crypto classes from securesms.crypto.

2) Move all the crypto storage from securesms.database.keys

3) Replace the old imported BC code with spongycastle.
Move prekey jsonifcation into the push code, add identity key.
Encode prekey as full JSON rather than protobuf blobs.

1) Split prekey messages out into full JSON.

2) Add support for retrieving prekeys.
Move PreKey ids to be Mediums, generate in circular buffer.
Refactor relationship between SessionCipher and Message.
Basic support for prekeybundle message delivery and receipt.
Fix up release parameters
Rename EncryptedMessage
Delete pre-key record when establishing agreement.
Added SMS transport support for PreKeyBundle messages.

1) Added SMS transport support.

2) Keep track of whether a PreKeyBundle message has gotten
   a response, and send them as subsequent messages until
   one has been received.
move constants into library