Add NSData extension, demo application and tests.