Fix #27: Mark stock transaction models as abstract if stock tracking not active

Workaround for a Django bug: http://code.djangoproject.com/ticket/19422