Mock isn't supported on python 3.4

It is included in unittest starting with 3.3.
Change tests to try importing unittest.mock first, then falling back to mock.
Change setup.py to only require mock for tests on python < 3.3.
All tests pass on 3.4 with this change.