Only load __attemptServletLoad at appropriate times.

The current _attemptServletLoad would attempt to fire regardless of the
type of class being converted to PHP. This update assures that the class
actually extends HttpServlet before attempting to load the servlet.