Added REST to Debug project

also added a base class for debug servlets: RailoDebugServlet and cleaned up the code a little