Changed signature and parameter handling on setVar()
Optimized handling of checkControllerAccess()

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Added new way of running queries by creating an array of
querydefinitions which will be processed by NEW method
processQueryDefinition(). This new method analyzes the definition and
sets models properties accordingly. This new way has been implemented on
the method read() and delete() for now. See comment of
processQueryDefinition() too see an example of how it works.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Changed trace to append in add() method to use the new
Debug::traceCalls() method

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
New static method traceCalls() which creates and returns a list of calls
(method and functions) extracted from debug_backtrace().

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
New 'NotAllowedProperty' error code in ObjectError handler.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Changed processGeneral() method to provide more and better formatted
informations.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Changed the way hooks are used and added initHooks() to initcheck.
Removed some overhead by calling properties via getter than directly.
Removed requires() check and call.
Changed getModel() signature to use empty string instead of NULL as
$model_name parameter.

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Added comments about "magic DI für arme".
New trace method which works as an wrapper to use it like $this->trace()
instead of Debug::traceCalls()

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>