Improved appveyor script
Added a test to support trailing whitespace on config file
Fixed support for trailing whitespace on config file
Added test for cache mirror directory end with a slash
Fixed cache mirror directory end with a slash