Added escape method, which doesn't add quotes

This is for compatibility with Formulize, and would make a difference to Formulize users.  It presents no issues for any existing functionality, and until the full Doctrine conversion is complete, would be useful in situations where for whatever unusual legacy reasons, escaping without adding quotes is desired.
Set soundcloud disabled by default
Minor typos and warning fixes
Change sanity check on event listeners to allow closures
Add legacy compatibility for setting logger activated status

Without this a lot of legacy ajax code fails
Introducing the service manager

This is a mechanism to allow service functionality to be added, changed or removed by module installation. A named service is prepresented by a Contract (a PHP interface) that defines the methods a service provider implementation must supply. The available providers are enumerated through the XOOPS preload/event system with a core.service.locate.SERVICE_NAME event.

A request for a named service starts with a $xoops->service(SERVICE_NAME) call which returns a Provider object. The Provider communicates with any provider implementations, invoking the requested method, and communicating through a Response object.

The first contract implementation is for an Avatar service. This contract provides methods to get an avatar image URL, and to get a URL to create or update an avatar. The system components that interact with avatars do not need to know which provider, if any, is in use. A call to $xoops->service('Avatars') connects to the provider, and the caller only needs to know the Contract\AvatarInterface methods and how to interpret the Response object. There is no need for the caller to check for installed modules, or have any predefined dependencies to use the service.

This commit contains the service manager implementation. A subsequent commit will have the providers and the changes required to convert all avatar aware  code to use the service manager mechanism.
Merge pull request #88 from geekwright/master

A set of small fixes
Deploy service manager conversion for avatar functions.
Merge pull request #89 from geekwright/master

Service Manager Implementation
Merge pull request #87 from jegelstaff/master

Added escape method, which doesn't add quotes
Clean up quote and escape - completing PR #87

Part of this is undoing the bizarre unescaping done to the escaped string that was introduced in 2009 in sourceforge commit 3748. This is an inappropriate place to do this, as whatever it is trying to undo is not being done my the database escaping. If this breaks things, we need to find the root cause and fix that. This silliness must end; It is potentially insecure and violates the stated purpose of the quote() method in that it can corrupt data being stored instead of preserving it.

Eventually we may want to add the escape() to the main doctrine based connection, but this only adds it to the legacy layer, to match a corresponding change in in 2.5.7.
Merge pull request #90 from geekwright/master

Clean up quote and escape - completing PR #87
Some clean ups related to service manager and avatar conversion
Clean caches on module and extension install

Recent addition of caching into preload initialization requires cache rebuild on install as well as update and delete. Ulimately need a more granular way to do this, possibly a hierarchical cache?
Switch to use namespaced (Doctrine based) classes directly to fix warning
Implement assetic in debugbar - first pass
Add assets directory.

This is uses to hold assetic managed assets, such as combinied and compressed css and js files. This directory must be writeable by the php processes and readable to all.
Enable some Assetic asset management

Smarty plugin for an assetic block tag. Accepts a list of assets and filters and creates a single URL for the asset to be use in templates. Also, convert default theme.html to use assets managed through the smarty plugin.

Add several PHP based filters to composer.json to allow basic Assetic processing without requiring external commands.

Adapt debugbar module to use Assetic management for scripts and stylesheets. Assets are now built directly from the vendor library code, and deployed in the web accessible assets directory.
Merge pull request #91 from geekwright/master

Asset management rollout, Service manager cleanup
Add checkStopWords() to seo title logic, misc. cleanups