A few improvements to debugging support

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