Exception was rised when in ISO_639.find_by_code(code), code was nil

Whereas in other situations where the code was invalid the method returned nil, in this case it raised an exception. 

The proposed fix is just check if code is nil in find_by_code. 

Also the pull requests includes  some tests of find_by_code