Replace SingletonQuery with BooleanQuery on computed singleton field.

Updated use in command parsing and mbsync plugin.
rewording in changelog
Merge branch 'ktkonrad-singleton'
fix import path to BooleanQuery (#680)
use a lambda for singleton field (#680)

Avoids a naming collision for now. We might revert this later with a decorator
approach.