Fix for failable NSURLComponents initializer

Using if let to prevent compiler error in XCode 6.1GM2.
Unwrap optional NSURL initializer

Because URL is hardcoded and will always succeed, if changed to invalid URL the test will crash and the error will also be quite clear.
Fix NSURL failable initializer must be unwrapped
Merge pull request #174 from Q42/xcode-6.1GM2

XCode 6.1 GM2 fixes