BUG: Fix indexing 0-sized arrays using empty fancy-indexes

Due to subspace creation for fancy indexing selecting the 0s
element on every fancy dimension, this failed if the dimension
was empty. Propagating check_index to disable the unnecessary
check in this case.
ENH: Allow newaxis in combination with fancy indexing.

This commit allows the use of None when also using fancy indexing.
To achieve this mit->consec is used to note the denote the
transposition axis (which means that if its consecutive but at the
start, mit->consec==0, and no transposition is necessary).
BUG: Check for maximum dimension for fancy indexing.
BUG: Do not ignore subspace unless it is true 0-d

This is  more important when allowing newaxis, but already before
lead to successful indexing when it should not be suspected.
Also some maintenance.
MNT: Tiny cleanup for mapping.c and comments
TST: Add fancy indexing test for tuple indexing

This is a first version of fancy indexing tests by mimicing the
behavoir in python. Note that error messages are not tested.
DOC: Advanced indexing using np.newaxes

Mention in release notes and remove documentation which may
give the idea it cannot be used with advanced indexing.
DOC: Change example to demonstrate function

"a * 0.5" example might as well be new_func(a) directly, it doesn't demonstrate the purpose of apply_along_axis().
BUG: hardcode some known shared library extensions

the configuration variables are not a reliable mean to get the shared
library extension. darwin, windows and debug linux are wrong in these
variables.
SHLIB_SUFFIX is also wrong as of python 3.3.1
closes #3057
BUG: Fix some README links to point to www.numpy.org

Fixes #3288
BLD: fix Bento build after umath_linalg move from core to linalg module.
Merge pull request #3307 from rgommers/fix-bento-build

BLD: fix Bento build after umath_linalg move from core to linalg module.
Merge pull request #3289 from rkern/fix-numpy.org-links

BUG: Fix some README links to point to www.numpy.org
Merge pull request #3264 from endolith/patch-1

DOC: Change example to demonstrate function
Merge pull request #3182 from juliantaylor/debug-ext

get_shared_lib_extension(): strip debug extension from so ext
ENH: use intrinsics for isnan, isfinite and isinf

Use of intrinsics avoids expensive function calls in tight loops on x86
cpus where these operations are implemented in hardware while still
retaining same portability.
More than doubles performance of np.isnan/isinf/isfinite.
This change allows ufunc operand flags to be set in addition to the
default operand flags set by the nditer object. For example, after
calling PyUFunc_FromFuncAndData() to create a ufunc object, the first
operand can be set to be read/write like so:

ufunc->op_flags[0] = NPY_ITER_READWRITE

Setting flags for output operands is not supported at this time and
will raise an exception.

This change also allows the global nditer flags to be set, so after
setting the read/write flag, the reduce ok flag could be set like so:

ufunc->iter_flags = NPY_ITER_REDUCE_OK
minor fixes for previous ufunc operand flag change
initialize ufunc op_flags pointer in frompyfunc()
correctly initialize op_flags and iter_flags in frompyfunc()