Standardize parameters for creating new accordions & pagers to
jQuery objects.

Update docs.

Other small fixes from review.