Mutex + Arel'ing OR statements

Wrapped _constantize in a class-level mutex, and replaced some of the OR-logic with Arel mechanics.