Fix peak_local_max's output for ndarray when indices is set to False
change doc for indices and remove the unnecessarily tolist() operation
Make `exclude_borders` option in peak_local_max nD

Prior modifications to peak_local_max make it nd-aware, but this does
not extend to the exclude_borders option. This commit changes that.
Use range instead of xrange
Merge pull request #1 from jni/peak-local-max-indices-nd

Make `exclude_borders` option in peak_local_max nD
Add test for nD `exclude_border` option
Merge pull request #486 from yangzetian/peak-local-max-indices-nd

Fix peak_local_max's output for ndarray when indices is set to False