Fix test failures with Django 1.8.x

Review Request #7717 — Created Oct. 20, 2015 and submitted — Latest diff uploaded

Information

Djblets
release-0.9.x
bef454d...

Reviewers

Django 1.8.x gets very unhappy about models without pk fields, which means we
need to add this to our test mocks.

Ran unit tests.