Fixed rounding error causing river to be too short

This occurred when there is 21 items on the server, and 5 items per row and 4 items visible in viewport. Don't write tests with nice even numbers. :P
Added .tern-port to .gitignore
Bumped version number to 0.1.8.