Increase query flexibility

PdoAdapter.php has the `username` column name hardcoded into the where clause.  Since the documentation states that the first element in `$cols` must be the username column, I've updated `buildSelectWhere()` to use that name instead.