added media api
added media_spec.rb
ingored DS_Store
added ruby-logo.jpg for test
updated media api
Merge pull request #7 from lanrion/added-media-api

Added media api