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
Extend sqrtm to StridedMatrix and complex integer matrices.
Make sqrtm more forgiving to singular matrices.
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
Update documentation for linear algebra factorizations.
Merge branch 'master' of github.com:JuliaLang/julia
Better linear algebra documentation
Intoduce a couple more LAPACK exception types
Updates to Factorization names for consistency
	LUDense is unchaged
	CholeskyDensePivoted is now CholeskyPivotedDense
	QRPDensse is now QRPivotedDense
Fix the exports
Based on discussions in #2212.
Minimal invasive changes to the Factorization objects for 0.1.
All existing functionality is retained,	with only a few	renamings for clarity.

Replaces the *d routines with *fact routines:
         lud ->lufact
         chold -> cholfact
         cholpd-> cholpfact
         qrd ->qrfact
         qrpd -> qrpfact

Replaces * and Ac_mul_B on QRDense objects:
         qmulQR performs Q*A
         qTmulQR performs Q'*A

Updates to exports, documentation, tests, and deprecations.

This is a self-contained commit that can be reverted if necessary
close #2062
add eventloop-less variants of AsyncWork constructors
Documenting more functions