Adds validation to backbone models