Added a NSString#nan? convenience method.

I have a project where this was a common check I performed on some user input, I thought it might be useful for others too.