Add support for passing URLs

Since you moved to phantom, it wasn't working anymore when you have partial html files (Phantom would just throw an error since the html is invalid). 

Instead of rolling back, I made this pull request to add support for passing URLs instead of filepaths.

It would also automatically load the CSS files via HTTP