Move string_tocallback to Textpattern_Type_String.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5543 2fea6a4d-a838-0410-917b-93a53c48e9d2
Commit preferences panel too.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5544 2fea6a4d-a838-0410-917b-93a53c48e9d2
Introduces Container and Factory.

This makes calling classes easier, and makes it possible
to store instances that have adapters pre-configured and
so on. For instance hashing a password only requires:

Txp::get('PasswordHash')->hash('MyPassword');

Constructor arguments are also supported:

Txp::get('TypeString', 'abc')->count('a');

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5545 2fea6a4d-a838-0410-917b-93a53c48e9d2
Typos

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5546 2fea6a4d-a838-0410-917b-93a53c48e9d2
Typo

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5547 2fea6a4d-a838-0410-917b-93a53c48e9d2
Document returned value.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5548 2fea6a4d-a838-0410-917b-93a53c48e9d2
Remove placeholder static default adapter.

There is now a container.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5549 2fea6a4d-a838-0410-917b-93a53c48e9d2
Tag registry uses container.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5550 2fea6a4d-a838-0410-917b-93a53c48e9d2
Merge remote-tracking branch 'upstream/master' into search-widget