Always read line-by-line with mode rU
Always read binary files with mode rb
Always write binary files in mode wb
Use write to avoid newline problems
Fixing test failure on Chrome 33
Remove antipodal test cases

The Vincenty formula can fail to converge for antipodal points (see http://en.wikipedia.org/wiki/Vincenty's_formulae#Nearly_antipodal_points), so those test cases are removed.  These tests fail with the latest V8 due to optimization of trig functions with lookup tables.  For example, Math.cos(Math.PI / 2) is no longer calculated based on the value of Math.PI / 2 (which is different than the actual value of π / 2).  Instead, values close to multiples of π / 2 are determined to be 0 (which is arguably what you want).  Previously the tests were relying on very small numbers being returned in this case.
Removing repeated test cases
More repeated test cases
More realistic precision for cosine distance results

Chris Veness' discussion of using the spherical law of cosines (http://www.movable-type.co.uk/scripts/latlong.html) suggests it gives well-conditioned results "around 1 metre" in JavaScript (this assumes a sphere with 6,371km radius).

In Chrome 33, Math.pow(Math.cos(Math.PI / 4), 2) yields 0.4999999999999999.  When we take the arccosine of twice this, we get something significantly different than zero.  Multiplying by 6371 means we can't assert that this is within 1e-9 of zero.
Get rid of unneccessary if else statements in the GML format
Merge pull request #1760 from bartvde/gmlfix2

Get rid of unneccessary if else statements in the GML format (r=@ahocevar)
Update to the latest version of pake
Remove reference to stale build/src/external/src/types.js target
Merge pull request #1749 from twpayne/windows-newlines

Generate proper line endings on Windows
Merge pull request #1748 from tschaub/roughly

Fix test failures on Chrome 33.  The trig functions in V8 have changed, and are may change again (see https://code.google.com/p/v8/issues/detail?id=3006 for the full story).  As a result, we no longer rely on Vincenty for antipodal distance calculations (not recommended anyway), and we use a very low precision match for testing cosine distance on a sphere.