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
Merge pull request #2206 from aviks/topic/pkglist

Updates to package listing: add new packages
fix #2205
remove Stream and Buffer abstract types in favor of just IO for all io-like things
rename IOString to IOBuffer, PipeString to PipeBuffer
closes #1781
doc rename: lists => community.
deprecate pairs, countp, anyp, allp
count is now just count(predicate, collection)
Merge branch 'master' of github.com:JuliaLang/julia
vec: better error message and correct behavior for empty [close #2214]
exports: mark some functions to not be exported in the future.
Removed some glpk leftovers
Small fix to bitshow
parse: now with no position arg, returns no position arg [close #2215]

It will also throw an error in that case if it hasn't consumed the
entire string. If you need more fine-grained control, then you ought
to call it with the positional argument and check that.
vec(a): change this to mean the vectorization of the tensor a [#2214].