Minor improvements to where clause method

- Now accepts an integer (or integer as string) as the only argument,
equivalent to id = ?
 - Recognizes RLIKE (and NOT RLIKE) as valid comparison operators