Fixed issues with NSNumbers, unwrapped UIImage.
Merge pull request #1 from couchbaselabs/syntax-errors

Fixed issues with NSNumbers, unwrapped UIImage.