Fix stride for SubArray, add tests
fix #3765
add documentation for task- and parallel-related macros.
closes #3760, closes #3099
Merge github.com:JuliaLang/julia