Fix issue 377 - conversion of large PyLong to size_t.
Add Py3 PyLong_AsSize_t for conversion to size_t. Suggested by Johan Hake.
Fix issue with failing size_t typemap for large numpy ints
Merge branch 'jan/fix-issue-377'
Merged master into chris/parallel-refinement-improvements