filter! for arrays

I think this is a pretty fast implementation
fix #2164
tk wrapper: don't hard code version
examples/modint.jl: add ::IO dispatch to show and showcompact.
examples/bubblesort.jl: define the BubbleSort algorithm as an example.
Various deprecation improvements.

 - only warn once per unique deprecation message
 - support randi and randival with deprecation warnings

Other rand* functions are not really deprecated – they're just not
supported anymore. These warnings point the direction to where to go
for the equivalent functionality.
Remove extra copy from sortperm
Merge pull request #2172 from kmsquire/faster_sortperm

Remove extra copy from sortperm
fix #2171
Merge branch 'master' of github.com:JuliaLang/julia
fix #2170
collect() to convert a collection to an array.
replaces chars() and elements(). closes #2157
fully deprecate strcat
fix 2155: remove MATLAB trademark symbols, except on first occurrence.

Also, make every occurrence of MATLAB in the docs all-caps.
fix #2161
Merge pull request #2174 from ohspite/dm/fix2155

fix 2155: remove MATLAB trademark symbols, except on first occurrence.
fix #2153
Merge branch 'master' of github.com:JuliaLang/julia
Add dlclose/Fix mkpath
Merge pull request #2158 from WestleyArgentum/patch-7

filter! for arrays
Rewrite filter in terms of filter!