django 1.7 compatibility, tox, travis

Migrations are needed in order to create foreign key constraints.
Fixed tests for django 1.7, added execution in tox and travis.