Completely revamped settings + sequence via stream

Settings are now implemented as a dictionary, making it much easier to
refer to specific settings. Capturing several images in a row for
multiple exposure is now supported via a stream object, rather than
several images written to a file and then opened and composited.