Fuller trigger & strobe support

Polarity of the trigger can be set, and strobe on pin 1 is supported.  Extension to pins 2 and 3 would be easy, but it's rarely used.
Actually, given the very similar logic for triggerMode, perhaps consider a generic function which handles this "expected string + uint" -> return value business.