Add generalized repmat function as repeat
Document repeat function

Extend ind2sub and sub2ind to accept a reusable array of indices
Expose rem1 and fld1, defined by analogy with mod1
Restore basic ind2sub definition
change string indexing to avoid invalid indexes in more cases, and
eliminate the thisind() function

For example, search("∀ x", "∀", 1) used to give 1:3, which doesn't
make much sense since the "3" is an artifact of the encoding and isn't
a valid index. Now it gives 1:1, or in general a:b where a is the index
of the first found character and b is the index of the last found character.
Merge branch 'master' of github.com:JuliaLang/julia into jb/strindexchanges
don't require subclasses of AbstractVector/Matrix to implement more than 1d/2d indexing
work towards allocating new bindings per-scope and per-for-loop-iteration
(#1571)
pkg2/resolve: add prerelase/build in VersionWeigth

this will allow to remove filtering of prerelease/build versions,
and "normalization" of packages requirements which was introduced
in 0fa84ec69f060cc492772b1a1707eff3745675bf
pkg2: reinstate prerelease/build versions

Prerelease/build versions can again be used in "require" files.

This essentially reverts commits
0fa84ec69f060cc492772b1a1707eff3745675bf
923e385d029b22df67739f7f1de6df18721d2f97
pkg2: more tests in resolve2

For the new weighting scheme. Also, sanitize previous
tetst a little.
Merge branch 'master' of github.com:JuliaLang/julia into jb/newvars
get sysimg building with new binding behavior (ref #1571)

the most problematic change was forcing for loop variables to be loop-local,
instead of reusing existing local vars. for example

    local i
    for i = 1:2
    end
    return i

currently works and returns 2.

for now, the behavior is to introduce new variables for each iteration unless
we are overwriting an existing local. comprehensions, however, always
introduce fresh variables and never overwrite existing ones.
Add documentation for conv2()/plan_brfft()
Added doc/UNDOCUMENTED.rst, functions for generating

This collects all known undocumented modules and functions and
puts them in doc/UNDOCUMENTED.rst, using standard function and
method templates so they can be easily filled in and copied to
the correct .rst file in doc/stdlib.

This file can be regenerated with

```julia
cd("$JULIA_HOME/../../doc")
import DocCheck
DocCheck.gen_undocumented_template()
```
Merge branch 'master' of github.com:JuliaLang/julia into jb/newvars
fix #3909
Merge pull request #3912 from kmsquire/undocumented_updates

Added doc/UNDOCUMENTED.rst, functions for generating
Merge pull request #3913 from JuliaLang/sf/dspdocs

Add documentation for conv2()/plan_brfft()
base/Makefile: fix FreeBSD date bug; replace $(CC -E) -> $(CPP)
Update openblas to v0.2.8-rc1 for wider testing.