Separate test dependencies.
Introduce tox for local testing.
Fix import error on Python3.x
Fix error on data loading.
Add compatibility for range/xrange.
Merge pull request #5 from FGtatsuro/local_testing

Fix some errors on local testing.