Fix mapping quantities to selected lines (backport)

Cherry-picked from 6a10fee64cd147e383f11678f467b416fec76a4d.
Bump version to 0.4.8
[Backport] Abstract stock alert should be abstract

The `AbstractStockAlert` was missing `abstract=True` in its meta,
causing two concrete models to be created.  The subclasssing
`StockAlert` model was nothing more than a pointer to the original
fortunately meaning the migration back to a single concrete stock alert
model is not too painful.

The migration drops the stockalert table and renames the
partner_abstractstockalert table to partner_stockalert.  This should
work fine and not drop any data.

Thanks to @Tilley for finding this pesky oversight in #645.

(cherry picked from commit 610de82eb25d00871ab1b30d01817c94d08bb96a)
Merge remote-tracking branch 'origin/releases/0.4' into rel4_pickle