Add tests and several rendering options

- Tests
- Option to delay screenshot until a JS expression evaluates to true in the target page
- Option to clip screenshot to an element defined by a selector
- Option to keep caching-related headers set by the target page in the PNG response