Issue #1821240 by Offlein, maciej.zgadzaj, othermachines: Fixes multiple issues, code and whitespace clean-up.
Issue #2122953 by maciej.zgadzaj: Fixed check (and create) subqueues on domain smartqueue creation.
Issue #2178967 by marcelovani, bibo: Fixed Views handler filter doesn't add condition based on option selected.