Update .gitignore for Swift and Rails

Now OS X, Xcode, Swift, Objective C, Ruby and Rails