Merge pull request #2835 from charris/update-1.8.0-notes

MAINT: Cleanup 1.8.0-notes.rst.
Merge pull request #2833 from charris/fix-deprecation-tests

MAINT: Refactor test_deprecations.py
Merge pull request #2818 from juliantaylor/spelling

fix a spelling error
Merge pull request #2836 from cgohlke/patch-2

Fix unicode tests for flexible string representation on Python 3.3
Merge pull request #2710 from jsalvatier/mapapi3

MapIter API 1d iteration fix and tests
TST: Replace Python 3.1 test with 3.3.

Travis does not support 3.1 anymore, but supports 3.3. See:

https://groups.google.com/d/topic/travis-ci/02iRu6kmwY8/discussion
Merge pull request #2800 from seberg/issue2755

BUG: Fix regression for in1d with non-array input
ENH - .mailmap file to harmonize git shortlog

Reduce duplicates in git shortlog
Merge pull request #2852 from matthew-brett/add-mailmap

ENH - .mailmap file to harmonize git shortlog
Fix invalid typestring size

Revert to pre numpy 1.7 behavior where invalid typestring size was ignored and isplay deprecate warning. This warning should eventually be changed to an error in future numpy versions.
Refactor to cover more cases; modify unit tests
Modify unit tests for 32 bit support
Refactor unit tests and add DECREF

- Refactor unit tests for invalid dtypes so that each test is on a separate line. This will make it easier to figure out which typestring is failing the unit test.
- Add Py_DECREF for temp variable
Add debug logging to figure out why unit test fails on Travis
Add fix to unit test; remove debug logging

Add check to see if 12 bytes is a valid size for a long double
Merge pull request #2853 from certik/forwardport2797

Forwardports #2797
Merge pull request #2850 from certik/travis_fix

TST: Replace Python 3.1 test with 3.3.
FIX: Use the NPY_TIME_T macro everywhere

Previously, two (critical) parts of the code used `time_t` instead of
`NPY_TIME_T`. Due to the fact, that most of the time `NPY_TIME_T` was equal to
`time_t`, this bug didn't show up. But in mingw, `NPY_TIME_T` is actually equal
to `__time64_t` and then this causes 64 bit integers to be cast into 32 bit
integers (thus becoming negative), which causes localtime() to fail in mingw.

Fixes gh-568.
Merge pull request #2856 from certik/fix568

FIX: Use the NPY_TIME_T macro everywhere
DOC: Thoroughly document datetime issues

After understanding the issues with datetime (see gh-568), I have documented my
understanding as comments in the code, so that the next time there are problems
with datetime on some platform, one can quickly figure out what is going on
from the code + comments.