refactored apidoc extensions completely.

separated guide and apidoc, better maintainability
Merge branch 'master' into apidoc-refactoring

* master: (153 commits)
  rest doc.
  CS fix
  Add size attribute to Modal
  major features and documentation finished for REST API.
  rest WIP
  Removed U+FEFF character from pt-PT language file to fixe #2631
  Revert "Used ternary operator instead of "or" for constant definition"
  `User` here
  REST wip.
  Changelog
  reset access cache when user identity is set
  Keyboard shortcut for previous, next and refresh buttons
  reset batch query result when rewinding.
  fixed loading namespaceless controller classes.
  Fixes #1467: Added support for organizing controllers in subdirectories
  replace pjax with external resouce via composer
  fixed > 100 typos introduced by me :-)
  fixed condition for HHVM test
  fixed phpdoc
  updated phpdoc references of BaseAR to the interface
  ...

Conflicts:
	extensions/apidoc/templates/BaseRenderer.php
	extensions/apidoc/templates/html/views/constSummary.php
	extensions/apidoc/templates/html/views/propertyDetails.php
improved HelpController with messages for each command
Used Exception instead of die() in classmap CLI controller
Minor phpdoc fix
removed ModelSerializer as it is replaced by new REST implementation.
Fixed unsetting relation bug.
Fixes #2653: Fixed the bug that unsetting an unpopulated AR relation would trigger exception (qiangxue)
fixed unset.
Fixed ErrorException changes
finished guide command refactoring
final changes for apidoc refactoring
Merge pull request #2656 from yiisoft/apidoc-refactoring

Apidoc refactoring
Fixes #2646: Added support for specifying hostinfo in the pattern of a URL rule
check if travis can do a crazy build for us :)
reverted 315cfbc03be to be nice to travis
Fixes #2629: `Module::controllerPath` is now read only, and all controller classes must be namespaced under `Module::controllerNamespace`
exclude file support for apidocs

issue #1797
Edited

Really not sure what this is. It seems incomplete as is.
Edited whole document