Use constant from Zend\Mvc\Application, not $target variable
[#3085] Ensure controller is current in plugin manager

- When fetching the plugin manager, inject the current controller
  *always*; this ensures that if a plugin is retrieved, it receives the
  controller that actually requested it.
Updated component packages to add branch-alias

Now that we have per-component repos, we need the ability to install
dev-stability packages. Currently, this can only be done if you specify
dev-master (which is auto-enabled via packagist), but not via dev-develop.
Additionally, you cannot specify version strings like "2.1-dev" or "2.2-dev", as
those aliases do not exist.

This patch adds dev-master and dev-develop aliases for each component.
Update tests/ZendTest/Paginator/Adapter/DbSelectTest.php

Update unitTests
Update library/Zend/Paginator/Adapter/DbSelect.php

Group by reset
Merge branch 'hotfix/component-composer-branch-alias' of git://github.com/weierophinney/zf2 into weierophinney-hotfix/component-composer-branch-alias
Merge branch 'hotfix/3085' of git://github.com/weierophinney/zf2 into weierophinney-hotfix/3085
Merge branch 'zf3768' of git://github.com/SocalNick/zf2 into SocalNick-zf3768