Fix ScoringFunction_test and Cleanup of GridBasedScoring
Fix ScoringFunction_test and Cleanup of GridBasedScoring

On windows this test failed due wrong read/write handling of
Grid files. Additionally, cleaned up coding style on my way.

tkemmer/ball,tkemmer/ball,tkemmer/ball,tkemmer/ball,tkemmer/ball,tkemmer/ball