migration to add foreign key to slides.
Adds changes to associating media objects to slides and adding and configuring ajax responses on the server
Redifines media relationships on the table level and updates modol methods to handle requests on a more modular level.