Added user has many market_item_summaries relationship to the market_item_summaries and user models.
Built out the prepdb method for MISBuilder, this method deletes all users, apis and marketorders in the database then creates two new users, four new apis and 50 orders for each API. This gives each user 100 orders, 50 are corp and 50 are character. This should provide a useable testing bed for market_item_summaries.

Designed and built out the build function using the new queries I've learned in the last 72 hours. Much more intelligent .where queries are used, combined with hashes and API loops. The logic is much cleaner then the original design.
Changed the MarketOrder market_summary_id column's name to market_item_summary_id to match the proper name of the MarketItemSummaries model.
Renamed and updated the model file for MarketItemSummaries to match with conventions and the new table name.
Updated the market_summary_id attribute name to match the new column name: market_item_summary_id. Annotations were also updated.
Completed the MISBuilder.build function, it now properly creates new MIS and assigns unassigned orders to previously created MIS.
Built out average sale price calculations and updates for MIS using aggregate queries to do the calculations.
Added total vol entered and total vol remaining features to the calculate_averages method. The method names will likely need to be reworked. The rest of the machinery for MIS' average purchase price and average % markup require wallet transactions access. The MIS views should be built up before another model is added.
Defined Market Item Summary Views in the Wanted Features List and added it to the prioritization queue. Seems big enough to warrant an entirely new branch.