Reverts r5372 and fixes former type juggling regression.

selectInput()'s $onchange argument used to accept boolean
like values, e.g. 1, '1'.

Comparing to boolean first silently broke the check due to
introduced type juggling, and strict check further
changed the behavior.

In this scenario the type strict check doesn't do much
more than limits value options. The attribute itself has no
reason to be type strict. You will be never wanting to
inject '1' to the HTML tag's attribute list.

As such, change the check to funky strict comparing in
string presentation. This prevents numeric parsing issues,
but allows boolean like values be used instead of a real
boolean.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5382 2fea6a4d-a838-0410-917b-93a53c48e9d2
Improvements to treeSelectInput().

* Compare values as strings. Don't select multiple options
* Don't overwrite variables from $array.
* Sanitize all HTML attributes.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5383 2fea6a4d-a838-0410-917b-93a53c48e9d2
Correct space between attributes

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

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5385 2fea6a4d-a838-0410-917b-93a53c48e9d2
selectInput() adds whitespace to $onchange as needed.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5386 2fea6a4d-a838-0410-917b-93a53c48e9d2
…when there is something to show, of course.

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