added options to sort() and _sort()
updated tests for sortingOptions
included descending option in private _sort
Fixed NPE on EventTarget.detach('cat|*')

The exception was coming from the private `_getType(type, pre)` method.

We removed the typeof string check in `getType`, for performance reasons
in 3.10.0, since the calling code had it covered already and it sits on many
critical paths.

However there's one path, for the 'cat|*' star case with a prefix configured,
where a null `type` is passed to `_getType` and it was barfing on the `type.indexOf()`
call as a result.

Re-added a simple truthy check (still avoiding the typeof string) before calling
indexOf.
Merged in fix for detach(cat|*)
Build for detach(cat|*) fix
align code style
Merge branch 'live-docs' into dev-master
Fix document of Paginator Search example

Remove the unnecessary `div` elements because the document view is wrong.
Tweak of Paginator Search example

Add indents of the example code for readable whole example code.
Merge branch 'sortingOptions' of github.com:rishabhm/yui3 into rishabhm-sortingOptions
Cleanup API docs and code comment for ModelList descending sort feature
Remove questionable uses of short-hand conditional function calls in ML
Add ModelList test to make sure `reset()` sorts when `silent: true`
Update Model List's docs and HISTORY for descending sort feature
Build Model List
Merge branch 'live-docs' into dev-master
Merge branch 'master' into dev-master
fix an error in an example of the event simulate documentation
Build YUI modules list user guide page