HUE-1135 [pig] Options support

Might need to refactor the API a bit at some point, it is difficult to
add new fields.
Some follow-up on HUE-1368.