Changes to Media Object

-Fixed create to give back the to_hash when responding to a js request
-Set project,user,data_set ids for data_set media object