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
work towards allocating new bindings per-scope and per-for-loop-iteration
(#1571)
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.
Merge branch 'master' of github.com:JuliaLang/julia into jb/newvars
Merge branch 'master' of github.com:JuliaLang/julia into jb/strindexchanges

Conflicts:
	base/exports.jl
Merge branch 'master' of github.com:JuliaLang/julia into jb/newvars
Doc typo (thins -> things)
Update contributing.md (switch to "master" branch before editing)

Hi, the instructions didn't work for me and I found out I needed to switch to the "master" branch.  Hopefully this is the right branch for people to make edits.
Added radix sort
multi.jl: refactor of worker management
 - fix/address comments by amitmurphy
 - avoid using Worker in manage(), .id and .config should suffice
 - force worker config to be passed around. ClusterManagers.jl has a pending update to accomodate this change
 - fix :cmd instance type in start_cluster_workers()
 - manage(:register) in a schedule block
Fix isdeprecated() call in doc/DocCheck.jl
RadixSort: Left and Right ordering are identical when
using uint_mapping
fix #3421
Merge pull request #3968 from GlenHertz/patch-2

Doc typo (thins -> things)
Merge pull request #3926 from nlhepler/worker-work

multi.jl: simplification/refactor of worker management