moving to stored procedures [WIP]
support for running stock status index generator via stored procedures, legacy code is still intact and needs to be removed
removed no longer necessary query components for stock status indexes
Merge pull request #17 from MattDunbar/master

Populating the stock_status_index table now happens in a stored procedure.