Use JSON for market data instead of separate SQL database

This refactors the ajax call to query the database into a new Market object that contains the old "multipliers' data set.