Added validation for empty person.
Added WebApplicationExceptionFactory.java.