Updates SWIG to 3.0.2 and fixes issue in algorithms interface file

Updates SWIG to 3.0.2 (2014/06/04) from 1.3.36 (2008-06-24) - __about 6 years of updates__.

Changes in this PR include:

- New SWIG binary for darwin64 and linux64 statically linked with libpcre
- New SWIG files in `external/common/share/swig`
- Change in CMakelists.txt to revert to legacy boolean behavior (so C++ functions that take booleans will accept Python integers)
- Change in `extensions/bindings/py/algorithms/AlgorithmsImpl.i ` to fix SWIGPY_SLICE_ARG issue that was preventing us from upgrading SWIG versions
- Fixed a bug in a test that was caught by the temporarily introduced stricter boolean type checking

Should help with #1264