Add unless_has_value to #is_required, and more.

Add when_empty to #js_custom.
Add docs accordingly, and update some docs with better info