Ported EventManager blog post to docs

- Original URI: http://www.mwop.net/blog/266-Using-the-ZF2-EventManager.html
- Edited and expanded to follow current API
hotfix tutorial.dbadapter :  should be  on assigning
Fix code-blocks

- Removed :startinline: and :number-lines: directives, and replaced with
  :linenos: directive
Merge pull request #830 from samsonasik/fix/tutorial.dbadapter

hotfix tutorial.dbadapter : 'setStaticAdapter' should be 'getStaticAdapter' on getter
Merge pull request #824 from weierophinney/feature/eventmanager-tutorial

Port EventManager blog post to docs
fix external link
fix more words
Merge pull request #833 from samsonasik/fix/external.link

fix external link and surplus word
typo: needed a slash in one of the paths
Update zend.form.collections.rst
Merge pull request #834 from bickerstoff/fix/tutorial/unittesting

typo: needed a slash in one of the paths
Merge pull request #835 from Danizord/patch-3

Typo fix
added code-block:: php
Merge pull request #837 from samsonasik/php-codeblock

added code-block:: php
Fix epub generation

- Need to run generated epub through Calibre's `ebook-convert` tool to create a
  cross-platform version of the epub. Added a dependency in the `Makefile` to
  ensure that we have the utility before attempting to build the epub, and the
  `epub` target now passes the Sphinx-generated through `ebook-convert`.
Merge branch 'hotfix/epub-generation'

Fix epub generation