fix for get_local()

Hi Max,

I'm testing the module on ubuntu and there seems to be a typo in  lib/WWW/Mechanize/PhantomJS.pm which after the patch seems to work  for me.

As to the other change, I didn't mean to send the dos/unix patch in the pull request ( I was playing with post() and committed it to be out of the way), but github can only do this by sending all the changes; you're welcome to ignore that.

Cheers!
Dmitry