Minimize the dependency for PhoneValidator

The `PhoneValidator` should only has the minimal dependency - `ActiveModel`, not the entire `Rails`.