Add regression tests

Add tests from old numba code base that were previously failing. Only test_vectorization_type_inference.py fails now on latest numba in master (19ffc4ced7d7ce49918dc56fe79a8f4ed71ad886, tested on OS X and Linux 64 bit with Python 2.7)