phantomjs 1.8.2

Needed phantomjs 1.8.2 for use with casperjs.

Not sure of the appropriate way to merge these two commits. The later commit was a mistake in the class name that I had. I copied the phantomjs1.7 class and forgot to rename it.

I pushed it since I didn't seem to have a way of telling brew to pull from a specific local file location.