Use study status properly

This blocks the attachment of raw data to the study until after the study metadata is approved. It also adds two buttons for admins to approve a study and to make a study public.

This finishes #476 
Yeah, I think the page is trying to do too much, but decomposing is something that should be later since adam and yoshiki are also touching this page.