Thanks a lot for all your help guys... in this case it was Apple at fault and I'm going to tell you how you can fix it.
Apple in their infinite wisdom decided that people don't simply want quotes! Why have a quote when you can have a smart quote :). It's all well and good changing something like this although when you start working on config files which require the default quote, things will go very wrong fast!
Id suggest that if you are using an Apple system and connecting through a server to make your changes and are facing issues like I mentioned, look very carefully at the quotes and see if they are different from the other untouched entries, if they are, simply follow this guide to change them back to normal:-
https://derflounder.wordpress.com/2014/02/01/disabling-smart-quotes-in-mavericks/
Thanks again guys so much for your help, sometimes it simply needs another set of eyes, I must have sunk in 10+ hours on this and must have looked at that config a thousand times although it never registered :D
Glad my build is back on track :)