Fix flags for functions that expect no arguments
Return str() from lookupdev() to match findalldevs()

It should be possible to find the default device in the list of
all devices by comparing the returned values directly. The names
of capture devices are regular C strings, so we choose to norm on
str() instead of unicode().
Ignore editor swap files
Add unit tests for capture device discovery
Record status update