jQuery_Chain: support for "ui" parameter

1) jQuery-UI mostly use callback `functions like function(e,ui){...}`. It was kind of hacky to add this `ui` parameter into JS function parameter list. Now it'll be already there by default for developers.
2) added preventDefault support in custom library case.
Merge pull request #431 from DarkSide666/patch-3

jQuery_Chain: support for "ui" parameter
tests update (JS enclose)
Merge pull request #432 from DarkSide666/patch-3

tests update (JS enclose)
Revert 75429f9..b19d4e6

This rolls back to commit 75429f922e9f404735c850b2d5984dd36928cec1.
Revert 5acb982..dba4338

This rolls back to commit 5acb982d7207db258ffe311df17fc1c80cdba27a.
Form_Field: there was something missing :)
proper fix
Logger: Resource type

Relying on resource conversion to string and searching for # number is not good because even in php.net there is written "naming Resource #999 is subject to change".
Also I got strange situation today where resource couldn't get converted to string and function strstr() throw error that first parameter of strstr() should be string.
Merge pull request #433 from DarkSide666/patch-3

Form_Field: there was something missing :)
Merge pull request #434 from DarkSide666/patch-4

Logger: Resource type
fix for Field_Expression::getExpr() bug
Merge pull request #435 from rvadym/master

fix for Field_Expression::getExpr() bug
Update AbstractObject.php

This will let use Exceptions with namespace

throw $this->exception('not configured','addon\Exception_NotConfigured');
Merge pull request #436 from rvadym/master

Update AbstractObject.php
normalize exception name

This way it'll work better. It looks that this method can be even more simplified, but ... maybe some other time :)

Test cases of normalizeClassName:
```
$a = array(
    'Exception',
    'MoreException',
    'More_Exception_Foo',
    'Exception_Foo',

    'one/Exception',
    'one/MoreException',
    'one\More_Exception_Foo',
    'one/Exception_Foo',

    'one/two/Exception',
    'one/two/MoreException',
    'one\two/More_Exception_Foo',
    'one/two/Exception_Foo',
);
foreach($a as $s) {
    echo $api->normalizeClassName($s,'Exception')."\n";
}
```
output:
```
Exception
Exception_MoreException
Exception_More_Exception_Foo
Exception_Foo
one\Exception
one\Exception_MoreException
one\Exception_More_Exception_Foo
one\Exception_Foo
one\two\Exception
one\two\Exception_MoreException
one\two\Exception_More_Exception_Foo
one\two\Exception_Foo
```
DSQL: some debug left

This looks like some kind of temporary debug line left in source code. Nowhere used.
DB: remove unused global table_prefix

I can't find any other reference to $dsn['table_prefix'] or how to define that. I guess this is something obsolete.
DB

comment fix
DSql: simplify field() method

Nothing is taken away, it's just slight code rewrite to make it 30% shorter :)