Add some phantom.js tests.
Port changes from htmLawed 1.1.18.
Relax the tests for a config of safe = 1 because it allows form elements.