Make ignore paths to match exactly

I'm not convinced the current strategy for matching ignore paths makes sense? It seems a little dangerous to apply using any substring of the input url. 

Also, the current test for ignore paths doesn't actually test anything as the test still passes without IgnorePaths being set.