A few improvements to debugging support

-Added support for closing debug server socket
-Added support for shutting down debugger service
-Added templateName to debug event.
-Narrowed templateElement matching for breakpoints
-Fixed a few issues with RemoteObject handling