Merge pull request #4169 from juliantaylor/backport-fixes-1.8

Backport fixes to 1.8
BUG: return immediately if memoryview cannot be non-native

late return triggers an assert with python3.4 in debug mode.
Closes gh-4138.
BUG: fix native-only long long check

Caused all long longs to be required native only in memoryviews.
NPY_SIZEOF_LONG_LONG never existed, replace documentation with existing
NPY_SIZEOF_LONGLONG and code with a sizeof(npy_longlong).
Merge pull request #4178 from juliantaylor/backport-4170-1.8

Backport #4170 to 1.8
BUG: backport fromfile and large file fixes to 1.8

Changes from gh-4152, gh-4165, gh-4187, gh-4196
TST: backport travis test improvements to 1.8

adds 32 bit and debug tests.
Merge pull request #4214 from juliantaylor/fromfile-fix-backport-1.8

backport fromfile fix to 1.8
BUG: Fetching a non-integer item caused array return

After a bug fix, a non-integer integer fetch (i.e. float), caused
array returns, because it passed through both integer and fancy
special cases which have logic in place to return scalars.
The last fallback incorrectly returned an array in this case.
Merge pull request #4223 from seberg/item-asarray

BUG: Fetching a non-integer item caused array return
BUG: Fix typos in conversion_utils

Unparenthesized logical expressions in if statements caused clang
compilation failure on OSX.
BUG: fix minor memory leak in memoryview failure case

backport of 2f8d33bc755b869639e38e0482c0abda956578cc
BUG: fix build with single-threaded python

Some symbols are not defined leading to:
ImportError Undefined symbol: PyGILState_Release

Closes gh-3255
DOC: add versionadded:: 1.8.0 to ufunc.at docstring
Merge pull request #4226 from juliantaylor/backports-1.8

Backports more fixes to 1.8
BLD: Fix ANSI C syntax error

Fixes msvc9/10 error C2143: syntax error : missing ';' before 'type'
Merge pull request #4230 from cgohlke/patch-1

BLD: Fix ANSI C syntax error
MAINT: update scipy-sphinx-theme

Adds copybutton that toggles ">>>" in code samples.
Merge pull request #4235 from juliantaylor/copybutton-1.8

Backport PR#4233 to 1.8
BLD: include f2py docs in source distribution

update was forgotten in the move to the doc/folder
BLD: exclude compiled python files in source distribution

they could accidentally appear in the source distribution if sdist was
run after a make -C doc.