Add Swift Package Manager and Linux support (#8) * create Swift package * add Package.swift * update gitignore * update readme * bump podspec version * fix unit test for SPM's lack of resource support * change Swift version to 4.2 * migrate away from arc4random_uniform to Int.random(in:) for Linux support, see Swift Evolution proposal SE-0202