Bumping the podspec version to 0.1.1.
Ensuring that string decoding errors surface an NSError.
Adding tests of dictionary key ordering.
Leveraging NSData encoding for NSString encoding (which also fixes string length issues for UTF-8 encoding).
Sort dictionary keys as NSData/binary, for spec compliance.
Refactoring to move to separate internal encoding methods for each type and a static function for NSData comparison.