Set paramater order on sort-related routines so that the vector being
sorted/searched/etc. is always first.
Fix order of nans2end.
Allow function arguments as first paramter of sort functions
Sort updates:

* Add sort versions which take Functions as first argument,
  for use with "sort(x) do a..." syntax
* Added (but commented out) select and selectby functions
  for same.
Minor updates.
Fix sort versions which take a function as the first parameter.
Actually make taking a function argument work...
Finish cleanup of allowing function arguments first.

* Added (but did not export) selectby, sortpermby
* select, selectby, and sortpermby can take function arguments first
* Added basic tests
Update documentation of deprecated functions.

* old docs were either changed to use the new function name,
  or removed when appropriate.
Extend sqrtm to StridedMatrix and complex integer matrices.
Make sqrtm more forgiving to singular matrices.
Pkg: better warning for already-required packages [close #2028].

Also change the warning color to yellow to make it look less erroneous
than a full blown error.
remove count and contains_is
add contains(eq, itr, x)
remove search_count
reduce size of bigfib test
Merge pull request #2244 from kmsquire/deprecated_doc_updates

Update documentation of deprecated functions.
a couple doc fixes
rename areduce to reducedim
un-export amap, each_col, each_row, each_vec while we decide what to
  do with them
Documentation for isprime(), isodd(), iseven()
Merge pull request #2249 from mbaz/patch-1

Documentation for isprime(), isodd(), iseven()
remove tmpnam
remove suspicious has() and contains() methods
un-export a couple more things