Allow configuration of the Parsoid host

Fixes #48
Refactor per PR comments
Merge pull request #49 from wikimedia/issue-48

Allow configuration of the Parsoid host