Refactor the model initialization step & generalize attributes inheritance on non array.
Merge pull request #979 from jails/refactor/model-inherited-attributes

Refactor the model initialization step & generalize attributes inheritance on non array.
Change naming for model attribute inheritance.
Merge pull request #980 from jails/refactor/model-inherited-typo

Change naming for model attribute inheritance.
Adding support for HTTP basic/digest auth for CGI environments in `Request`.

Adding tests for `lithium\action\Request`.

This fixes basic/digest auth for CGI environments in
`lithium\security\auth\adapter\Http`.

Parts of the implementation (the decoding of the basic auth header)
could in the future be extracted into a new decode method in
`lithium\net\http\Auth`. However there are two arguments against that:

(a) `lithium\net\http\Auth::decode` currently works expects a digest
    header only - with the leading `"Digest "` part already stripped off. To
    make the method authorization method agnostic it would need to expect
    the unstripped header or another hint in form of an additional argument
    to the method.

(b) Even if the above is implemented we would create a dependency on
    `Auth` which may not be desired or needs to be further clarified.
Refactoring instantiation of `Request` in auth adapter test.

The object has been already instantiated by other test methods except
two. According to Fowler's "Rule of three" it is tolerable to have code
duplicated up to three times. Argumenting in reverse a generalization
that isn't used more than two times should be inlined.
Clarify purpose of tests for Http auth adapter.
Aligning equal sign and separating digest block.

The separation of the block makes it clearer, that it is reuesed in the
following code multiple times.
Adding tests for auth adapter `Http` for CGI environments.
Removing magic numbers in CGI HTTP auth.
Documenting needed rewrite rule for HTTP auth with CGI.
QA cleanup.
Merge pull request #981 from davidpersson/http-auth-cgi

Enable HTTP basic and digest auth for FCGI/CGI environments