Merge pull request #15 from Byron/make_getitem_handle_slice_for_py3

Make __getitem__ handle slice for Python 3
Change / to // (integer division) in test_buf.py

This fixes (the last!) test failure in Python 3, which uses
"true division" for /