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
[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'
Fixes HTTP socket tests

- Stream was not being properly initialized by Http\Client; added logic
  to initialize it when no resource is present but stream usage is
  indicated.
Merge remote-tracking branch 'weierophinney/hotfix/http-client-streams'
[#944] Fix failing tests due to EM changes

- Removed setEventManager() from ModuleHandler interface (cannot
  redefine methods when extending interfaces)
- s/(setSharedCo)ll(ections)/\1nn\2/ in MVC tests