Refactor out a method to get the SQL for a BoolExpr
Merge branch 'master' of github.com:genome/UR
reverts a94be9d4d7a6cc13509daa5c145a2f0f7d80de69

Was causing a problem in Genome/Model/Command/Export/Pcgp.t