Upgrade for compatibility with Judge 2.0.0

Switch HTML to Html, require gems if they aren't defined.

Remove FactoryGirl.