PhantomJS: Made compliant with --noImplicitAny and added more details to many of the declarations.
PhantomJS: Finished making compliant with --noImplicityAny. Added top-level declarations. Removed Phantom type in favor of an inline type.
Fixed typo and updated PhantomJS version.
Reinstated Phantom interface.
Merge pull request #1782 from keesey/master

PhantomJS update