Fixed floating point number error in tests on cygwin. Plus a bunch of dos to unix changes. GitExtensions must of f'ed things up.

Change-Id: If4536c076ad821d85b19cfc7c276712af910cbb8
Reviewed-on: http://www.matthewh.me/gerrit/25
Reviewed-by: Matthew Hoggan <mehoggan@gmail.com>
Tested-by: Matthew Hoggan <mehoggan@gmail.com>