A few improvements for debugging

-Added support for closing debug server socket
-Added support for shutting down debugger service
-Fixed bug with RemoteObject getting garbage collected
-Narrowed templateElement matching for breakpoints