BLD: Fix ANSI C syntax error

Fixes msvc9/10 error C2143: syntax error : missing ';' before 'type'
TST: fail on declaration-after-statement in travis test

required for windows compilers
TST: test non integer item does not return array

from gh-4223 in the 1.8 branch
TST: test count_nonzero on unaligned memory
Merge pull request #4232 from juliantaylor/check-win-compile

TST: fail on declaration-after-statement in travis test
MAINT: update scipy-sphinx-theme

Adds copybutton that toggles ">>>" in code samples.
Merge pull request #4233 from pv/copybutton

MAINT: update scipy-sphinx-theme
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.
Merge pull request #4237 from juliantaylor/sdist-updates

Sdist updates
BUG: Removed the inconsistencies of the function ma.count
The inconsistency of ma.count when appled on masked_array with mask as
'nomask' has been removed. the return type of the function has also been
standardized according to the docs.Corresponding changes in testing to
check the functioning of ma.count
Closes gh-3368 and gh-4228
Merge pull request #4234 from jennystone/Branch1

BUG: removed inconsistencies of count (Issues #3368 and #4228)
ENH: Attempt to rewrite the index parsing.

Some optimizations still missing.
WIP: Speed improvements by using EXTERNAL_LOOP
WIP,TST: Fix tests to match new behaviour
WIP: use fast_take and fix Deprecations
WIP,TST: Small fixes for the tests
WIP: bug fixes and field oder access change
WIP,TST: Fixup python3 tests
WIP: fix field order; And MapIterNext iteration end