Add namespace and fix checking supertypes

#ZF-251
Added setAdapter / getAdapter to AuthenticationService, updated for some coding standard violations as well
added unit test for setAdapter / getAdapter
update the constructor signature
make storage session not so stupid so i can configure it nicely through DI
basic fixes for storage session after i broke it
updated test method authenticate for coding standard violation
Add assertion on CompilerDefinition

Add assertion on CompilerDefinition
fixed broken SetCookie Instantiation
Using ArrayUtils instead of Config objects for merging int array keys

As suggested by @DASPRiD in zendframework/zf2#1036
Merge remote-tracking branch 'ocramius/feature/merged-module-config'
Add simple test for config merging behavior in ConfigListener

This is to ensure that one cannot swap out the ArrayUtils::merge() with
something like array_replace_recursive with the tests still passing, proving a
false sense that no behavior has been broken.
[zen-27] Renamed interfaces in Authentication
Merge remote-tracking branch 'blanchonvincent/ZF2-251'
Shared Collections support for EventManager

This is a solution for usage of the StaticEventManager. Basically, it
will instead expect the following:

- Classes composing an EventManager will implement EventManagerAware,
  and thus opt-in to setter injection of an EM instance
  - EM instances will _not_ be shared between classes
- The EM implements the SharedEventManagerAware interface, indicating it
  opts-in to setter injection of a SharedEventManager (note: not static)
  - A single "SharedEventManager" will be shared between all instances of
    EventManager

This commit does the following:

- Renames StaticEventCollection to SharedEventCollection
- Creates SharedEventManager, which implements all the functionality of
  StaticEventManager except the singleton aspects.
- StaticEventManager now extends SharedEventManager, and simply
  implements a singleton pattern.
- Introduced EventManagerAware and SharedEventManagerAware interfaces;
  EventManager implements the latter.
- Adds configuration to the Bootstrap in setupLocator() to mark the EventManager
  as an unshared instance.

It depends on work @ralphschindler is doing in his
feature/di-share-configuration branch.
Updated events-aware classes to implement EventManagerAware

- Updated classes to implement EventManagerAware
- Updated tests to use SharedEventManager instead of StaticEventManager
Renames for consistency

- s/SharedEventManagerAware/SharedEventCollectionAware/, as the
  interface was typehinting on the latter.
- s/setSharedConnections/setSharedCollections/, as the latter is the
  terminology in the interface
- s/sharedConnections/sharedCollections/, for the same reasons as the
  previous point
[#944] re-enable StaticEventManager awareness

- Re-enables StaticEventManager awareness temporarily until
  Application/Bootstrap is refactored to allow sharing a
  SharedEventManager instance and injecting into many discrete
  EventManager instances.
[#944] Updated documentation

- Updated documentation to reference SharedEventCollection and SharedEventManager
- Made a note about StaticEventManager and that it's deprecated for use inside the framework
Merge remote-tracking branch 'cogitatio/fix-http-client'