Shifted the boolean selection operations of the generic_fns.selection module into two new functions.
These are the boolean_select() and boolean_deselect() functions. The change removes much duplicated
code which could be a source of bugs in the future.
........