Forms: validation data are now valid JSON

Parsing is done using native JSON parser, if available.
Compatibility with old format is preserved.
removed some PHP 5.2 workarounds
Database: implemented correct support for empty array NOT operator [Refs #667]

Removed old behavior, which could produce malformed SQL query.
Condition must have parentheses around all expressions with empty array.
Merge pull request #1105 from hrach/db-not

Database: implemented correct support for empty array NOT operator [Refs #667]
test refactoring, used new assertions
DI\Container: added $args to createService()
DI\Container: factory methods for non-shared services changed from createXyz() to createServiceXyz() (BC break)
test refactoring
Database: deprecated Connection::table()
Merge pull request #1111 from hrach/database-table

Database: deprecated Connection::table()
NetteExtension: fixed compatibility with deprecated Connection::getSelectionFactory()
Database: fixed ->wherePrimary() on backjoined selection
Debugger: Remove PHP 5.2 check for $e->getPrevious() and $e->previous
Merge pull request #1116 from smasty/52-cleanup

Remove PHP 5.2 check for getPrevious() in Exceptions