Safari version + more

Should finally finish #35, replaces #37.

* Finish correctly matching Safari `version` and `versionNumber`, with all tests
passing
* Fix some `var` errors in `test/test.js`
* Add `.editorconfig` (http://EditorConfig.org) to help maintain a consistent
formatting
* Resolve errors mentioned in #37.