Consistent, idiomatic whitespace
Clean, idiomatic loops

Most changes also improve performance. The exception being that
`for val in vec` is a bit slower than
`for i in 1:length(vec); vec[i]; end`, but where that matters,
we'd want to go further -- i.e. clean syntax by default,
`for i in 1:length(vec); @inbounds vec[i]; end` where indexing is
a noticeable bottleneck.
Avoid splatting

Also tightened up a couple loops that involved splatting
Array{T,1} => Vector{T}
Avoid initializing values that are about to be overwritten
Speed up route reversal
Temporarily widen eps for a few tests

A few of the tests from are no longer passing on julia 0.4 (at this
commit or at the commit that passed Travis from the last PR) --
apparently something has changed in on the julia master branch since
the commit of the julia nightly the last PR ran against.

There are bigger to fry now, but I'll open an issue.
Fix vertical alignment of example code
Merge pull request #32 from garborg/idiomatic

Idiomatic code and low hanging efficiency gains